The following steps highlights the way to install Ant in your Windows 7

(1) Download Ant

http://archive.apache.org/dist/ant/binaries/

I will be installing the Ant version 1.7.1

(2) unzip to your directory. I place it in my C. Thus, after unzip my directory becomes C:\apache-ant-1.7.1

(3) Set ANT_HOME as environment variable

(4) Set PATH

(5) To check, go to your command , type “ant -version”

If you encounter the following error :

ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME

Please double check the unzip folder has all the files. Go back to step #2 above, if your lib folder is somehow missing, just redownload / re-extract the downloaded ant zip file.

Related Posts Plugin for WordPress, Blogger...