Deploying Java CAPS Projects

ProcedureTo set up your system to use commandline codegen

  1. Set the JAVA_HOME environmental variable on your computer to the location where JDK version 1.5 is installed, for example:


    set JAVA_HOME=c:\Program Files\Java\jdk1.5.0_14
  2. Install Apache Ant, version 1.6 or later, on your computer. You can download this program from the following URL:

    http://ant.apache.org/bindownload.cgi

  3. Log in to the Java CAPS Uploader, click the Downloads tab, and install commandline codegen. For additional information, see Installing Java CAPS Components Using the Java CAPS Uploader in Using the Java CAPS 6 Installation GUI

  4. At the command-line prompt, set the ANT_HOME environmental variable, for example:


    set ANT_HOME=c:\Program Files\Apache\apache-ant-1.6.5

    Note –

    You must set this variable in the command window, in the directory in which you will be running the command.