ant-user mailing list archives

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

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:
For additional commands, e-mail:

View raw message