I will be in Jasper, Texas this week on business for Texas Electric Cooperatives. I will be returning home on Sunday, July 20th.
This entry is a summary of the Apache guide for Installing Ant. It is targeted specifically for Windows.
- Download the current release of Ant and place its contents under
- Set the
JAVA_HOMEuser variable under Environment Variables to a JDK, and not a JRE. In my case, this is
- Modify the
PATHuser variable and append
%PROGRAMFILES%\ant\binto the end of the list.
Opening a command prompt and running
ant -version, we obtain the following result:
C:\Users\tbarik>ant -version Apache Ant version 1.7.0 compiled on December 13 2006
The Ant installation recommends setting the
ANT_HOME variable to
%PROGRAMFILES%\ant as well, but this can be redundant as the script automatically checks for this location.