To get up and running with the binary edition of Ant quickly, follow these steps:
- Make sure you have a Java environment installed, See System Requirements for details.
- Download Ant. See Binary Edition for details.
- Uncompress the downloaded file into a directory.
- Set environmental variables
JAVA_HOMEto your Java environment,ANT_HOMEto the directory you uncompressed Ant to, and add${ANT_HOME}/bin(Unix) or%ANT_HOME%/bin(Windows) to yourPATH. See Setup for details. - Optionally, from the
ANT_HOMEdirectory runant -f fetch.xml -Ddest=systemto get the library dependencies of most of the Ant tasks that require them. If you don't do this, many of the dependent Ant tasks will not be available. See Optional Tasks for details and other options for the -Ddest parameter. - Optionally, add any desired Antlibs. See Ant Libraries for a list.
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:- Get the source code. See Source Edition for details.
- Build Ant. See Building Ant for details.
For the full story, continue reading. continue-->
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন