能否在ant命令行输入参数, 在build.xml文件中可以获取这些参数?如:ant compile "A" "B" "D"
解决方案 »
- RandomAccessFile中seek方法是什么意思
- 高手求救数据库与集合的问题,SOS
- table
- 初学JAVA,一个SERVLET问题,请大家来看看~
- 简单问题...
- 使用HttpURLConnection 访问域名 报java.net.UnknownHostException异常
- 请问各位老大,在java中如何写一个有返回值为DefaultMutableTreeNode的函数
- socket使用两个线程分别收发,收到结束标识怎么结束发线程的流
- sharetop(天生不笨),你的webchart或者jfreechart不能画3D的饼图啊?怎么办?
- 一个有意思的BUG 分析疑惑
- 请问 谁知道maze是使用什么协议传输文件的?
- 反编译一个CLASS文件,不成功!!
Unknown argument: -?
ant [options] [target [target2 [target3] ...]]
Options:
-help print this message
-projecthelp print project help information
-version print the version information and exit
-diagnostics print information that might be helpful to
diagnose or report problems.
-quiet, -q be extra quiet
-verbose, -v be extra verbose
-debug print debugging information
-emacs produce logging information without adornments
-logfile <file> use given file for log
-l <file> ''
-logger <classname> the class which is to perform logging
-listener <classname> add an instance of class as a project listener
-buildfile <file> use given buildfile
-file <file> ''
-f <file> ''
-D<property>=<value> use value for given property
-propertyfile <name> load all properties from file with -D
properties taking precedence
-inputhandler <class> the class which will handle input requests
-find <file> search for buildfile towards the root of the
filesystem and use it注意其中的:
-D<property>=<value> use value for given property
-propertyfile <name> load all properties from file with -D
<echo>${aaa}</echo>