Setting up your environment to automate processes

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

About this task

The required version of Ant is 1.7.1 (or later). If Ant is not installed, or your version is older than version 1.7.1, you must set up your environment to use the correct version of Ant.

You can download Ant from http://ant.apache.org/, or you can use the Ant 1.7.1 distribution packaged in the following directory: <InstallDir>/shared/tools/ant.

Procedure

To test and set up your environment to use 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 (version 1.7.1).
  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