ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Le" <Al...@gmx.de>
Subject Pass build failure message to the calling script
Date Tue, 24 Mar 2015 22:31:00 GMT
Hello,

I call Ant (execute a build) from a .bat script (under Windows). If the build fails, I'd like
not only to detect that it failed (this is possible via ERRORLEVEL) but also get the failure
message (at least its first line if the message contains multiple lines).

Is it possible without parsing the output of Ant? If yes, how?

Thank you!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message