ant

一,ant下载
http://archive.apache.org/
二,ant安装

1,解压
2,配置环境变量 path="路径"
3,进入cmd 运行ant.bat

 

 

部署

1,在eclipse windows show view 搜索 ant 

2,add builffile 添加build.xml

 

ant 命令

ptions:
 -help, -h             帮助信息
 -projecthelp, -p      打印项目的帮助信息

 -version               版本信息
 -diagnostics          打印的信息,可能会有帮助诊断或报告问题
 -verbose, -v           ant 详细信息
 -debug, -d            调试信息·
 -emacs, -e             produce logging information without
 -lib <path>            specifies a path to search for jars
 -logfile <file>        use given file for log
   -l     <file>                ''
 -logger <classname>    the class which is to perform loggi
 -listener <classname>  add an instance of class as a proje
 -noinput               do not allow interactive input
 -buildfile <file>      use given buildfile
   -file    <file>              ''
   -f       <file>              ''
 -D<property>=<value>   use value for given property
 -keep-going, -k        execute all targets that do not dep
                        on failed target(s)
 -propertyfile <name>   load all properties from file with
                        properties taking precedence
 -inputhandler <class>  the class which will handle input r
 -find <file>           (s)earch for buildfile towards the
   -s  <file>           the filesystem and use it
 -nice  number          A niceness value for the main threa
                        1 (lowest) to 10 (highest); 5 is th
 -nouserlib             Run ant without using the jar files
                        ${user.home}/.ant/lib
 -noclasspath           Run ant without using CLASSPATH
 -autoproxy             Java1.5+: use the OS proxy settings
 -main <class>          override Ant's normal entry point

你可能感兴趣的:(ant)