----- Original Message ----- From: "Mike Castle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 09:25 Subject: detecting build failures with OUT exiting
> > I'm knew to ANT and still in the process of trying to get up to speed on > everything, including still reading through _Java Development With Ant_. but of course :) > Now, the problem with <antfile/>, at least as far as I have been able to > read in the docs and ant-user archives, is that there is no > failonerror="no" equivalent. Nor do I see a general way to catch failures. There are <try> and <catch> tasks in ant-contrib.sf.net; these let you wrap the <ant> calls. Covered on p256 of the book, btw. > So, if a file fails to compile, the automated build exits, and I can't send > off an email from inside ant to the appropriate individuals telling them > they need to buy the next round. MailLogger is the way to do this. I like your 'your broke the build' punishment policy. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>