Share via


Output Format (Project Properties Dialog Box)

   

Use this dialog box to specify the format of the project outputs of a Visual J++ project. By default when a Visual J++ project is built, the Java files are compiled into .class files. Using this dialog box, you can pick the .class files, and other files, to package into a cabinet file, setup file, Zip Archive format file, COM .dll file, or a Windows .exe file. This is called in-place packaging of a project.

The project outputs may not appear until after you have completed a build.

Options

Advanced

Displays the Advanced Property Pages dialog box for the selected type of distribution unit.

Enable Packaging

Specifies that in-place packaging will be enabled when the project is built.

File name

Saves the name of the distribution unit that will be created. The default distribution unit name is the name of the project.

Include additional files

Displays the Add Additional Files dialog box, where you can add files that are not part of the immediate project but should be added to the distribution unit.

Outputs of type

Filters by file extension the files that are placed in the distribution unit. This filter is applied to all the files in your project and to all the .class files created when your project is built.

You can choose from the following categories to filter the project output files. You can also type in your own filter for the output files.

  • Distribution Units (*.cab, *.zip)

  • Java Classes and Resources (*.class, *.tlb, *.res, *.resources, *.ico, *.gif, *.jpg, *.bmp)

  • Java Classes and Web Files (*.class, *.ocx, *.htm, *.html, *.asp, *.gif, *.jpg, *.bmp)

  • Java Classes (*.class)

  • Java Classes and Sources (*.class, *.java)

  • Windows Binaries (*.exe, *.dll, *.tlb, *.ocx)

  • Windows Binaries and Resources (*.exe, *.dll, *.tlb, *.ocx, *.res, *.resources, *.ico, *.gif, *.ico, *.jpg, *.bmp)

Package Contents

Selects the contents of the distribution unit. You can pick the files that are placed in the distribution unit by filtering for the file types, or by picking the specific files. You can pick files that are not a part of the immediate project.

Packaging Type

Lists the packaging types. For the Enterprise edition, there are five possible types (other editions may have fewer packaging types available).

  • COM DLL   See Visual J++ documentation for details.

  • Windows EXE   See Visual J++ documentation for details.

  • Setup   The self-extracting setup executable file provides a mechanism to create an installation program to distribute your standalone application to users. The setup also includes an uninstalling program.

  • CAB   The cabinet file is an efficient way to package multiple files to ensure efficient download and installation of Java packages and classes executed on (or behind) HTML in the Microsoft Internet Explorer.

  • ZIP   The Zip Archive (.zip) file provides a mechanism to package multiple files (such as Java packages and classes) in a single, uncompressed Zip Archive file that is compatible with Internet Explorer and other Internet browsers.

These outputs

Sets the files to be included in the distribution unit from the list. When the project is built only the selected files are included in the distribution unit.

The complete list of project outputs may not appear until you have built the project. If the list seems short, try rebuilding the project.