Java Developers Tool Apache Ant on Windows

Apache Ant on windows,You want install Ant's Zip file from bellow given location.
After that you want to unzip and configure the ANT_HOME on Windows.

1.JAVA_HOME
First make sure JDK is installed in your system and JAVA_HOME is configure as windows environment variable.




2.Download Apache Ant
Downloaded the Apache ant from official website example : Apache-ant-1.9 ,unzip it to the folder you want to store Apache Ant.



3.Configure ANT_HOME
Add the ANT_HOME as in the Windows environment variable ,and point it to your ant folder and also added Path variable,append %ANT_HOME%\bin at the end ,becuase you can run the ant's comment everywhere on console.

Example :PATH=%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin 

4.Test The Ant Command
Once you have done configuration ,Open a new command prompt to and run ant and see something like this.


That means Ant is installed properly and is looking for build.xml file

No comments: