Step 1: Download and Install
Download Ant. Go to the Ant homepage and click to download the binary. Because they were talking about Windows, choose to download the ZIP file, not any other. Scroll down to where “Current Ant Version” says and click on the ZIP file name.
. Ant . c:\java\ant , , .
2:
Windows XP: Windows XP, "". "" " " .
Windows 7: Windows 7 "". " " " " .
, , - JAVA_HOME, Ant JRE.
JDK,
c:\Program Files\Java\jdk1.x.x\jre
Windows XP
c:\Program Files(x86)\Java\jdk1.x.x\jre
Windows 7. , , . [3] . , Windows XP C:\Progra ~ 1\Java\jdk1.xx\jre Windows 7 C:\Progra ~ 2\Java\jdk1.6.0_26\jre, Program Files (x86 )
, Ant , Ant PATH.
, , . Ant , Windows Ant, java. PATH. Windows XP , , - :
;c:\java\ant\bin;C:\Progra~1\Java\jdk1.x.x\jre\bin
Windows 7 :
;c:\java\ant\bin;C:\Progra~2\Java\jdk1.x.x\jre\bin
, , , . Ant - :
Buildfile: build.xml does not exist!
Build failed
, Ant build.xml.
: http://www.nczonline.net/blog/2012/04/12/how-to-install-apache-ant-on-windows/