Set archive manifest options

This is a feature of JBuilder Professional and Enterprise.

In this step of the Archive Builder, you choose how the manifest file is created. For most users, the default option, Create A Manifest, is sufficient.

Include A Manifest File In The Archive

This option is on by default. It automatically creates a manifest file in your archive.

Create A Manifest

This option is selected by default for all archive types except OpenTool. If you select JAR as the type of archive file, the Archive Builder automatically generates a manifest file called manifest.mf in a meta-inf subdirectory of the JAR file. The manifest contains a Manifest-Version: 1.0 and Main-Class: header.

Create A Manifest And Save A Copy In The Specified File

This option creates a manifest file and a copy. It places the copy in the file selected in the path field. If the file does not exist, the Archive Builder creates it.

Override The Manifest with The Specified File

This option is for advanced users who want to provide optional information to the jar tool about a class in the archive. This is the default option for the OpenTool archive type.

If you use this option, the manifest file must exist before you run your program. If not, you'll see the following message in the Compiler tab when you choose Run:

<path name> <file_name> (The system cannot find the specified file)

Warning: Only advanced users should select this option.