1.First,You must have JDK installed first.
2.Get the ANT for windows here:
view plaincopy to clipboardprint?
1. http://ant.apache.org/bindownload.cgi
http://ant.apache.org/bindownload.cgi
choose latest version with zip package
3.After download ANT,extract zip package in (for example) C:\Ant
4.Set ANT_HOME
* Right click My Computer icon
* Choose properties
* Choose Advanced Tab
* Choose Environtmen Variables Button
* In the System Variables, click New Button
* Give the Variable Name:ANT_HOME
Give the Value: C:\Ant
* Click OK
Then,we’ll add new ANT_HOME path,
Find PATH in the Variable Column in System variables frame
* After found, click Edit button
* Then, add the following text in the bottom of Variable value:
view plaincopy to clipboardprint?
1. %ANT_HOME%\bin;
%ANT_HOME%\bin;
* Click OK to finish
5.Check wheter ANT works correctly or not.
In the command prompt, type:
view plaincopy to clipboardprint?
1. ant -version
ant -version
then click enter,
if the result text is something like:
view plaincopy to clipboardprint?
1. Apache Ant version 1.7.1 compiled on June 27 2008
Apache Ant version 1.7.1 compiled on June 27 2008
then your ANT is work correctly on your Windows
6.The end.
http://omrudi.wordpress.com/2008/11/08/how-to-install-ant-in-windows-xp/
1.First,You must have JDK installed first.
ReplyDelete2.Get the ANT for windows here:
view source
print?
1 http://ant.apache.org/bindownload.cgi
choose latest version with zip package
3.After download ANT,extract zip package in (for example) C:\Ant
4.Set ANT_HOME
* Right click My Computer icon
* Choose properties
* Choose Advanced Tab
* Choose Environtmen Variables Button
* In the System Variables, click New Button
* Give the Variable Name:ANT_HOME
Give the Value: C:\Ant
* Click OK
Then,we’ll add new ANT_HOME path,
Find PATH in the Variable Column in System variables frame
* After found, click Edit button
* Then, add the following text in the bottom of Variable value:
view source
print?
1 %ANT_HOME%\bin;
* Click OK to finish
5.Check wheter ANT works correctly or not.
In the command prompt, type:
view source
print?
1 ant -version
then click enter,
if the result text is something like:
view source
print?
1 Apache Ant version 1.7.1 compiled on June 27 2008
then your ANT is work correctly on your Windows
6.The end.
zubehör