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.8.0

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

    set RUN_ANT="%JAVA_HOME%/bin/java" -cp "%CLASSPATH%" org.apache.tools.ant.Main

    set ANT_OPTS=-Xmx1024m -Xms256

    On UNIX/Linux

    JAVA_HOME=$TIBCO_HOME/tibcojre64/1.8.0

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

    RUN_ANT="$JAVA_HOME/bin/java -cp $CLASSPATH org.apache.tools.ant.Main"

    ANT_OPTS="-Xmx1024m -Xms256"

    export JAVA_HOME RUN_ANT ANT_OPTS