Installing Ant on Windows
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
C:\Program Files\ant\. - Set the
JAVA_HOMEuser variable under Environment Variables to a JDK, and not a JRE. In my case, this is%PROGRAMFILES%\Java\jdk1.6.0_06. - 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.
0 Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI