Re: Fail build, send email
Thursday, May 30, 2002 06:44 AM
You cannot send a build failure from within your Ant build file. The proper way to do this is use a logger (the command-line
-logger switch). There is a MailLogger built into the Ant 1.5 codebase and described in its documentation.