You can package an application module as a JAR file, using the module’s manifest file as the JAR file’s manifest, by invoking the jar command with the m option flag. For example, if you have a module’s resources and manifest file in your /work/MyModule directory, you can make a JAR file named mymodule.jar for the module with this command:

jar cvfm mymodule.jar MANIFEST.MF -C /work/MyModule .

Packaging the module into a single file makes it easier to copy the module to multiple Oracle Commerce Platform installations. To add the module to an Oracle Commerce Platform installation, unjar the file in the <ATG11dir> directory; this installs the module in the appropriate place in the directory structure. You might need also to copy HTML files into your web server document root directory.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices