Apache Ant 环境搭建

Apache Ant 下载地址:http://ant.apache.org/bindownload.cgi1、解压ant到任意盘下

     如:解压到:D:\Software\Apache Software Foundation\

2、配置环境变量

ANT_HOMED:\Software\ApacheSoftwareFoundation\apache-ant-1.8.2

CLASS_PATH.;%ANT_HOME%\lib;

PATH.;%ANT_HOME%\bin;

3、在cmd命令输入:

cmd -> ant - version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Apache Ant 环境搭建

相关推荐