Setting Advanced Options

1.

Follow the procedure for creating a JAR file, but click Next in the last step to go to the JAR Packaging Options page.

See Creating a New JAR File

2.

If you want to save the JAR file description, check the Save a description of this JAR in the workspace check box.

See Creating a JAR Description

3.

Choose whether warnings and/or errors should be presented in a dialog after JAR creation. It might be useful to disable these options if a JAR description is created and you want to recreate one or more JAR files without having to read error dialogs.

4.

The compiler is able to generate CLASS files even when source contains errors. You have the option to exclude CLASS (but not source) files with compile errors. These files will be reported at the end, if reporting is enabled.

5.

You can choose to exclude CLASS (but not source) files that have compile warnings. These files will be reported at the end, if reporting is enabled.

Note: This option does not automatically exclude class files with compile errors.

6.

Click Finish to create the JAR file immediately or Next if you want to change the default manifest.

See Defining the JAR File's Manifest