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.

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

  3. 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.

  4. You can choose to exclude CLASS (but not source) files that have compile warnings. These files will be reported at the end.
    Note: This option does not automatically exclude class files with compile errors.

  5. You can choose to include the source folder path by selecting the Create source folder structure checkbox.

  6. Select the Build projects if not built automatically checkbox if you want the export to perform a build before creating the JAR file.

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


Related concepts
Java development tools (JDT)

Related tasks
Creating a new JAR file
Defining the JAR file's manifest

Related reference
JAR file exporter

Copyright IBM Corporation 2000, 2002. All Rights Reserved.