开发者

Command line equivalent of javac ant task?

<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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜