Apache ANT ()
“ Binary downloads of the Ant build tool are available from http://ant.apache.org/. This manual assumes you are using Ant 1.8 or later. The instructions may also be compatible with other versions, but this has not been tested. Download and install Ant. Then, add the bin directory of the Ant distribution to your PATH environment variable, following the standard practices for your operating system platform. Once you have done this, you will be able to execute the ant shell command directly. “ |
The Short Story
To get up and running with the binary edition of Ant quickly, follow these steps:
Note that the links in the list above will give more details about each of the steps, should you need them. Or you can just continue reading the rest of this document. The short story for working with the Ant source code (not needed if you are working with the binary edition) is:
For the full story, continue reading.
|
Windows Note: |
|
|
The ant.bat script makes use of three environment variables - ANT_HOME, CLASSPATH and JAVA_HOME. Ensure that ANT_HOME and JAVA_HOME variables are set, and that they do not have quotes (either ' or ") and they do not end with \ or with /. CLASSPATH should be unset or empty. |
ANT_HOME Environment Variable
- ANT_HOME = D:\xampp\ant
D:\xampp\ant\bin>ant Buildfile: build.xml does not exist! Build failed
- Log in to post comments