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 ATG installations. To add the module to an ATG installation, unjar the file in the <ATG2007.3dir> directory; this will install the module in the appropriate place in the directory structure. You may need also to copy JHTML or HTML files into your Web server document root directory.

 
loading table of contents...