user673218
user673218

Reputation: 411

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 as the above code. This code is copied from an ant build file.

Upvotes: 2

Views: 1160

Answers (2)

matt b
matt b

Reputation: 140041

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

Upvotes: 3

Saurabh Gokhale
Saurabh Gokhale

Reputation: 46425

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

Upvotes: 0

Related Questions