ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: questions about handling failed <mail> task
Date Thu, 20 Sep 2001 22:32:18 GMT
--- "Nasgowitz, Mark (MED, GEMS-IT)" <Mark.Nasgowitz@med.ge.com> wrote:
> I use the <mail> task to email data during the build.xml process.
> Recently our mail server configuration must have changes because the
> mail task now fails. The fact that the mail task fails is not the main
> problem, the problem is that when the mail task fails Ant exits/stops. I
> would like the build.xml script to continue with its work and just
> ignore that fact that the mail task failed.
> 
> is that possible?.. any suggestions

Can you use the optional <mimemail> task instead? It has a "failonerror"
attribute. (Alternatively, are you up for adding a "failonerror" attribute
to the <mail> task? :)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

Mime
View raw message