Configuring Apache Ant

On each machine that will be part of the ActiveMatrix BPM system, configure Apache Ant.

Procedure

  1. Create an environment variable that points to TIBCO_HOME.
  2. Open a command window.
  3. Run the following commands:

    On Windows

    set JAVA_HOME=%TIBCO_HOME%\tibcojre64\1.7.0

    set CLASSPATH=%TIBCO_HOME%\tools\lib\antpackage.jar

    set RUN_ANT="%JAVA_HOME%/bin/java" -XX:MaxPermSize=1024m -cp "%CLASSPATH%" org.apache.tools.ant.Main

    set ANT_OPTS=-Xmx1024m -XX:MaxPermSize=1024m -Xms256

    On UNIX/Linux

    JAVA_HOME=$TIBCO_HOME/tibcojre64/1.7.0

    CLASSPATH=$TIBCO_HOME/tools/lib/antpackage.jar

    RUN_ANT="$JAVA_HOME/bin/java -XX:MaxPermSize=1024m -cp $CLASSPATH org.apache.tools.ant.Main"

    ANT_OPTS="-Xmx1024m -XX:MaxPermSize=1024m -Xms256"

    export JAVA_HOME RUN_ANT ANT_OPTS