仅作个人笔记使用。
- 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_HOME
to your Java environment,ANT_HOME
to the directory you uncompressed Ant to, and add${ANT_HOME}/bin
(Unix) or%ANT_HOME%/bin
(Windows) to yourPATH
. See Setup for details.
[reference]