ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: Ant error reporting issue when using XML log output through exec call
Date Thu, 14 Dec 2006 15:04:15 GMT
> <exec dir="." executable="${env.ANT_HOME}\bin\ant.bat"
> ...
> Unfortunately when I run the task which encompasses this exec task it
> always returns success.

.bat files are unreliable. You should <java fork="true">, running
Ant's launcher class, who is the class that interprets the Ant
arguments and starts the whole thing. Then you'll get proper error
codes. Examples can be found in the archives.


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

View raw message