当前位置: 技术问答>java相关
ant 问题!
来源: 互联网 发布时间:2015-07-15
本文导语: 请高手指教! 使用ant 来发布ejb!jboss的服务器 build.xml也写了! 但是每次运行ant的时候总是 提示,如下: D:BBS>ant Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [arg...
请高手指教!
使用ant 来发布ejb!jboss的服务器
build.xml也写了!
但是每次运行ant的时候总是
提示,如下:
D:BBS>ant
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-cp -classpath
set search path for application classes and resources
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
D:BBS>
使用ant 来发布ejb!jboss的服务器
build.xml也写了!
但是每次运行ant的时候总是
提示,如下:
D:BBS>ant
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-cp -classpath
set search path for application classes and resources
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
D:BBS>
|
不用装xml解析器的
|
build.xml找不到
|
你设置了java_home,ant_home了吗,还有将ant加入path了没有
|
呵呵,我想你后面是不是要加个文件名呀
|
gz