Installation and Upgrade > Installation and Configuration Guide > Advanced Configurations > Configuring HTTP Server and Embedded Servlet Engine With Other Options > Setting Up HTTP Server Ant
  
Setting Up HTTP Server Ant
HTTP Server Ant is a Java-based build tool that has been bundled (and installed) with Windchill. It is located in the root level of the Windchill installation directory. It is also available on the Windchill Third Party Software CD.
To use Ant, it must be located on the machine where the configurations are to take place, the access permissions must be set appropriately, and the environment variables set for Ant. At that point, Ant can be executed from the command line.
1. Install Ant -- If the configurations are taking place on a machine other than the Windchill machine, or if the user performing the configurations does not have sufficient access permissions to the Ant files in the Windchill directory, then you must install Ant to a new location.
a. Select location where Ant should be installed (different machine or new directory on the Windchill machine) and create an installation directory for Ant, for example:
Windows: C:\ptc\Windchill_12.0\ant
UNIX: /opt/ptc/Windchill_12.0/ant
b. Insert the Windchill Third Party Software CD in the CD-ROM.
c. Copy the ant.tar.gzip file for UNIX or the ant.zip file for Windows from the /Apache/ManualInstall/ directory to the Ant directory.
d. Set the access permissions as required for the install user.
2. Uncompress the Ant file. Ant is packaged as a compressed file and it must be uncompressed before it can be used in application. This step must be performed for all installations of Ant, including the Ant files located in the Windchill installation directory.
Windows
unzip ant.zip
UNIX
gunzip ant.tar.gzip
tar -xf ant.tar
3. Set the following environment variables:
ANT_HOME = <Ant installation directory>
JAVA_HOME= <JDK installation directory>
PATH -- update to include <ANT_HOME>\bin
On Windows, <ANT_HOME> is %ANT_HOME%
On UNIX, <ANT_HOME> is $ANT_HOME
* 
These environment variable settings are not required once Windchill Services are installed and deliver the windchill shell. The windchill shell sets the necessary environment variables for you, at which point, Ant can be run. Once the windchill shell is available and if you have reason to use Ant after Windchill Services are installed, then run the Ant command from the windchill shell.
4. To test Ant, at the command prompt execute the following command:
ant -help
You can also use the help command to review the other execution options available with Ant and to verify the Ant syntax.