Deploying Java CAPS Projects

ProcedureTo build an application file by passing parameters in the command line only (AIX/Linux/MacOS/Solaris)

  1. At the command prompt, run the commands:

    At the command prompt, run the commands:


    Export ANT_HOME=path
    Export JAVA_HOME=path
    dos2unix ant ant
    dos2unix build.xml build.xml
    dos2unix build.properties build.properties
  2. Run commandline codegen by issuing the following command from the command prompt in your commandlinecodegen directory (see Table 1–1):


    sh ant "-D{propertyname1}={propertyvalue1}" "-D{propertyname2}=
    {propertyvalue2}" … "-D{propertynameN}={propertyvalueN}"

    Note –

    When using the command-line properties method, you must specify values for all required properties. You also may specify values for any optional properties as is appropriate.