Class PackageAppClient


  • public class PackageAppClient
    extends Object
    Creates a JAR file containing the runtime bits required to run app clients remotely, on a system without a full GlassFish installation.

    The resulting file will contain:

    • the stand-alone ACC JAR file (the one containing this class)
    • all JARs listed in the Class-Path of this JAR's manifest
    • the contents of the ${installDir}/lib/dtds and schemas directories (for local resolution of schemas and DTDs on the remote client system)
    • the specified sun-acc.xml file (the one from domains/domain1/config if unspecified)
    • the handful of other config files to which sun-acc.xml refers

    Optional command-line options:

    • -output path-to-output-file (default: ${installDir}/lib/appclient/appclient.jar)
    • -xml path-to-sun-acc.xml-config-file (default: ${installDir}/domains/domain1/config/sun-acc.xml)
    • -verbose reports progress and errors that are non-fatal
    Author:
    tjquinn
    • Constructor Detail

      • PackageAppClient

        public PackageAppClient()
    • Method Detail

      • main

        public static void main​(String[] args)
        Parameters:
        args - the command line arguments