1. Download ANT
2. Unzip the zip file and put it in your comfortable folder (say D:/ant/)
3. Set ANT_HOME environment variable to the Ant location
(MyComputer Rt.Click >> Properties >> Advanced >> Environment Variables >> User Variables for Administrator >> Set New Variable Name as "ANT_HOME" and set New Variable Value as D:/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 directory location , say%ANT_HOME%\bin)
5. Open a command prompt and type "ant" , you should see it working now . In case of any failure try the below command and see the value for ANT_HOME
c:\echo %ANT_HOME% // This should print your current ANT directory
0 comments:
Post a Comment