Pages

Sunday, April 21, 2013

How to install Apache Ant in windows 7



Apache Ant is used for creating build files. Let's see how to install apache ant to your computer successfully.
First you need to download the zip file from this url.

Make sure you extract the file into a folder called APACHE_ANT. inside that there should be bin, manual, etc, lib like folders. Then you have to copy the path to the APACHE_ANT. In my case it is this.

E:\program filez\ANT-HOME


Then go to System Properties window and and click on environmental variables. Computer->(on the upper corner of my computer window ) System Properties
There you will find this window.

Edit the 1st appearing table containing user variables. 


Type the variable name as ANT_HOME. and add the copied path as the value. You should have already added java home variable. If not click on New tab and add JAVA_HOME variable as well. it's value should be the path to your JDK. 
Then in the system variables table find the Path variable. You have to add some additional thing to the existing one. so just type a semicolon (;) at the end of the current path.  The go to the ANT_HOME folder you created and go to the bin folder inside it. copy the path and paste it after the semicolon. hit ok and now you are done !!!.
To check whether you have installed it correctly type "cmd" at the search area of start button and get the command prompt. then just type ant and hit enter. If you get a msg like this you have installed ant correctly.





Don't forget to become a follower of SeethaGangula.!!!

3 comments:

  1. apita Xpath kiyala denna barida????

    ReplyDelete
  2. xPath tutorial ekakuth danawada.. plz

    ReplyDelete
  3. ko xpath tutorial eka?

    ReplyDelete