ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Clark <>
Subject Re: How to get debug info on java task failure
Date Thu, 28 Sep 2006 19:28:27 GMT
On Thursday September 28, 2006 13:31, wrote:
> The %ERRORLEVEL% value is 0, so I'm really no closer to
> understanding why the execution of the class works at the command
> line and fails in Ant.
> Is there a way to get more information from Ant?

You can use the -v/-verbose or -d/-debug command line options to Ant 
itself. With these you will be able to see the exact command line 
that Ant is constructing to execute Java. You can then compare it to 
what you are expecting.

- Rob

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message