On 5/1/07, Andrew Bayer (abayer) <[EMAIL PROTECTED]> wrote:
Is there any way to do this without having to subclass Ant.java? I'm not married to the output being BUILD SUCCESSFUL or BUILD FAILED specifically - any pass/fail string that I can do a regexp for would be sufficient. Any help/advice/etc anyone could provide would be greatly appreciated. Thank you!
I've used (at a previous job) <subant> extensively, with several levels of sub-projects and many "leaf" projects as well, yet your request implies that you set failonerror="false" in <subant>, which is the reason you have to jump thru all these hoops to try to find out a-posteriori when a sub-project failed. I've always been a proponent that if *anything* fails, the *whole* build fails. If you were to take this approach, we'd see how it simplifies your Ant build. This approach, coupled with a SubBuildLogger that tells you which build a target belongs to is all I ever needed with my large builds. Sorry, not a direct answer to your question, more a "change your approach" advice. Good luck, --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
