Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see the full command Ant uses in the Java task?

I'm having some trouble with a <java> task not executing the way I expect it to and want to see the actual text of the command ant is calling on the command line so I can check to see if it is what I expect. Is there a way to do this?

Trying to Google for how to do this is very frustrating since all I get is a lot of information about how to set the command line arguments that get passed in ant. I am already doing that, but want to know that what's getting executed it what I expect before I start digging into other possible issues.

like image 318
Bjartr Avatar asked Dec 27 '12 15:12

Bjartr


1 Answers

$ ant -verbose -debug ...

should display the command used (and much more).

like image 162
miku Avatar answered Sep 29 '22 18:09

miku