Search This Blog

Showing posts with label JAVA. Show all posts
Showing posts with label JAVA. Show all posts

Thursday, April 1, 2010

Installing ANT (Windows)

1. Download ANT
2. Unzip the zip file ( C:/ant)
3. Set ANT_HOME environment variable to the Ant location
(MyComputer -->Properties --> Advanced Tab --> Environment Variables --> Add --> Set New Variable Name as "ANT_HOME" and set New Variable Value as C:/ant)
4. Now set Path variable to point to your ANT bin directory
(User Variables for Administrator --> Click on Path variable --> Append the ANT bin location ,  %ANT_HOME%\bin)
5. Open a command prompt and type "ant" , In case of any failure try the below command and see the value for ANT_HOME
c:\echo %ANT_HOME%