To create a JAR file in the IDE, you must first create a JAR recipe. The JAR recipe stores information about your JAR file, which you can later modify and use to create a new JAR file.
To create a JAR recipe:
Click Next.
The page displays JAR recipe contents in three columns:
The JAR recipe file appears as a node
in the Filesystems window. On the node's property sheet, you can set a file filter, the
JAR file's compression level, and other attributes. See JAR
Recipe Nodes in the Filesystems Window for more information on JAR recipe nodes.
To create a JAR file from a JAR recipe:
The JAR file cannot be created if any of its contents, or the sources that the contents are compiled from, are not in mounted filesystems.
When the JAR file is created, the JAR recipe's node
is replaced with a
node.
You can copy and paste the
node
to put a copy of the created JAR file in another directory.
To view the contents of the JAR file as a filesystem:
A filesystem node for the JAR
file appears in the Filesystems window.
If you later change the JAR recipe file and rebuild the JAR, the mounted JAR file is no longer up to date. Unmount the JAR file and then remount it to display the current JAR file.
See Also | |
---|---|
The JAR Contents Property Editor
Modifying a JAR File Updating a JAR File Running a JAR File Setting a JAR Content Filter Creating a JAR Manifest Mounting a Filesystem |