Specify the file to be created by the archiving process

This is a feature of JBuilder Professional and Enterprise.

This step of the Archive Builder is where you set a name for your archive node and file, select the archive's compression, and choose how frequently the archive is built.

Type

Displays the archive type as specified in the first step.

Name

Enter the name of the archive node. The default name is based on the archive type selected in Step 1. It's best to make this name descriptive, particularly since you can have numerous archive nodes per project. This allows you to test various Archive Builder settings to see which most closely match your deployment needs.

The archive node displays in the project pane after you make or build your project. You can right-click the node and make or build it at any time, as well as reset its properties.

File

Enter the fully qualified path and file name for the archive to be generated by the Archive Builder. You can use the ellipsis button to browse to a different directory location. By default, the archive file is created in the project's root directory.

The Archive Builder supports the ZIP and JAR archive formats. Typically, you choose a JAR file type. A JAR file (.jar) is basically a ZIP file with a different extension and with certain rules about internal directory structure. JavaSoft used the PKWARE ZIP file format as the basis for JAR file format. You can change the file type by choosing the ellipsis button and entering another file type in the File Name field.

Note: JAR files are supported only in JDK 1.1, or later, browsers. If you are deploying an applet to a JDK 1.0.2 browser, you need to use a ZIP archive file.

Compression

The Compress The Contents Of The Archive option allows you to choose between a compressed or an uncompressed archive. Usually, you leave this option off, so the archive is uncompressed. This improves load time. If you plan to create an installer for your program, leave this option off, as uncompressed archives compress smaller than compressed ones.

If your archive is an applet, this option is selected by default. You should leave it on.

Creating the archive

The Always Create Archive When Building The Project option determines how often your archive file is created. This option is set on, by default, for all archive types. When on, the archive file is recreated each time you make or rebuild your project.

Note: Once the archive file has been created, you can change its properties by right-clicking the archive node and choosing properties. The next time you make or rebuild, the new property settings are used.