Regenerating a JAR File

You can use a JAR file description to regenerate a previously-created JAR file.

1.

Select one or more JAR file descriptions in your workbench.

2.

From the selection's context menu, select Create JAR.

3.

The JAR file(s) are generated.

Creating a JAR Description

A JAR description is an XML file that describes a previous JAR export. These files always have the extension .jardesc . The JAR description can be edited with the JAR Packager or can be used to regenerate one or more JAR files in a single step.

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.

Check the Save a description of this JAR in the workspace check box.

3.

In the Description file field, click Browse to enter the path and name of the JAR description file, then click OK.

Note: The correct file extension for a JAR description will be shown and used, if the provided extension is wrong or non-existent.

4.

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

Editing a JAR Description

1.

Select an existing JAR file description in your workbench.

2.

From the context menu of the selected JAR description, select Open JAR Packager.

3.

Edit the settings as described in the procedure for creating a JAR file.

See Creating a New JAR File