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.
精彩评论