日期:2014-05-17  浏览次数:20846 次

Apache Ant 环境搭建

Apache Ant 下载地址:http://ant.apache.org/bindownload.cgi

1、解压ant到任意盘下

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

2、配置环境变量
???? ANT_HOME ??????????D:\Software\Apache Software Foundation\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