Setting up Ant to automate processes

You must have Apache Ant installed on your computer to deploy RuleApps to Rule Execution Server, automate managerial tasks within Decision Center, and run many of the samples.

Before you begin

You must use Ant 1.7.1 or later. You can download Ant from The Apache Ant Project, or you can use the Ant 1.7.1 distribution in the installation directory <InstallDir>/shared/tools/ant.

Procedure

To set up and test Ant:

  1. Set the ANT_HOME environment variable to <InstallDir>/shared/tools/ant.
  2. Set the JAVA_HOME environment variable to the path to your JDK installation.
  3. Add the directory <InstallDir>/shared/tools/ant/bin to your PATH environment variable.
  4. Test your current version of Ant by typing the following in a Windows command prompt or UNIX shell:

    ant -version