Modifying a JAR File

You can change the content or any other aspects of a JAR file you have created in the IDE. First modify the properties of its JAR recipe file and then recompile the JAR file.

To modify a JAR file:

  1. In the Explorer, right-click the JAR Recipe node for the JAR file you want to modify and choose Properties.
  2. In the property sheet, modify whatever needs to be changed, such as the filter, content of the archive, or the manifest.
  3. Right-click the JAR recipe file's node in the Explorer and choose Compile. The existing JAR file (represented by the JAR file node) is replaced with a modified archive.
Tip You can use copy and paste to add directories and files to a JAR recipe. In the Explorer, right-click the file or directory you want to add and choose Copy from the contextual menu. Then right-click the JAR recipe's node and choose Paste from the contextual menu. You can remove items from a JAR recipe by right-clicking the item's node and choosing Delete.
See also
Creating a JAR File
The JAR Contents Property Editor
Updating a JAR File
Running a JAR File
Setting a JAR Content Filter
Creating a JAR Manifest

Legal Notices