Ant Installations and Configurations

(Last Updated On: November 23, 2016)

Step 1: Before installing ant ensure that already java has been installed in your system.

Step 2: Go to the below link and download the ant.

http://ant.apache.org/bindownload.cgi

Step 3: Just extract the zip file you downloaded and put in the drive you want.

Step 4: Now go to the command prompt and type ant then you will get like as follows,

Step 5: Now we will set the environment path for ant in the command prompt,

set ANT_HOME=D:\apache-ant-1.8.4

set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0

set PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin

If you type ant in the command prompt then the window will appear like as follows,

Then you can start working with ant.

 

Thanks for reading this post…………..!!!

164 total views, 1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *