开发者

Command line equivalent of javac ant task?

开发者 https://www.devze.com 2023-03-13 05:39 出处:网络
<javac srcdir=\"${src}\" destdir=\"${build}\" classpath=\"xyz.jar\" debug=\"on\" source=\"1.4\" /> What command should I execute on the command line to get the same effect a开发者_JAVA百科s th
<javac srcdir="${src}"
         destdir="${build}"
         classpath="xyz.jar"  
         debug="on"    
         source="1.4"
/>

What command should I execute on the command line to get the same effect a开发者_JAVA百科s the above code. This code is copied from an ant build file.


Invoke ant with the -v flag for verbose and it should output the exact command send to javac.


You can have a look at the Command-Line options for Ant.

0

精彩评论

暂无评论...
验证码 换一张
取 消