The Package Manager Archive Utility (clspack) writes packages that are installed with the Java Package Manager (JPM) to a .zip file archive.
clspack [options] [zipfile] [packagelist]
options | One or more clspack options. |
zipfile | The .zip file to be created. |
packagelist | The text file containing the list of packages to write to the zipfile. |
The Microsoft® Windows®-based clspack utility writes the contents of packages that are installed with JPM to a .zip file archive. This avoids constant downloads of the classr.exe self-extracting archive; you can create your own archive from the contents of JPM.
Clspack reads from a text file that contains the list of packages to write to the .zip file archive. This enables you to archive only packages that you need. The clspack utility is case insensitive, so packages like com.ms.activeX and com.ms.util.InputMethod are parsed as com.ms.activex, and com.ms.util.inputmethod, respectively. The following example shows how to create a .zip file using the contents of a text file, which lists the following packages:
java.io com.ms.util com.ms.util.cab com.ms.util.InputMethod
Clspack automatically skips non-system classes (including when the -dump or -auto options are used from a command line). The utility will export any class, however, if it is included in the text file that lists the packages.