Use the trycatch task from ant-contrib

________________________________
From: vino_hymi <vinoh...@gmail.com>
To: user@ant.apache.org
Sent: Friday, August 5, 2011 2:02 AM
Subject: Mail task on Target failure

Hi,

I have ant project where there is set of targets. After successful
completion of all targets I call mail target at the end to send a mail with
attached logs with message build successful.

Now, my challenge is if one of the target fails then build exits so it will
not proceed to mail target which is the last one to perform on completion of
all. How can I use mail target to send mail on any target failure?

Any hints?

-Vinodh Kumar

--
View this message in context: 
http://ant.1045680.n5.nabble.com/Mail-task-on-Target-failure-tp4669046p4669046.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to