Configuring Ant

After installing Ant as described in the section called Apache Ant in the chapter called Getting and installing the software, you have to set the ANT_HOME environment variable and update your PATH.

Warning

If you want Ant to set automatically the CLASSPATH, you have to correctly set your JAVA_HOME environment variable as described in the section called Setting up your Java environment

Here are examples to set your environment for Unix and Windows platforms: