RE: How to run an ant target on success/failed build

2008-07-23 Thread p2008
For anyone else who is interested in this presentation, the problem addresses in this thread starts on Slide 34, so jump ahead! http://people.apache.org/~kevj/ossummit/extending-ant.html Rebhan, Gilbert wrote: > > > > -Original Message- > From: p2008 [mailto:[EMAIL PROTECTED] > S

RE: How to run an ant target on success/failed build

2008-07-23 Thread p2008
Thanks for this info! It seems the exec listener is the most flexible solution. Not quite as simple as the hooks offered in nant, but it should do the job. Thanks. Rebhan, Gilbert wrote: > > > > -Original Message- > From: p2008 [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23

RE: How to run an ant target on success/failed build

2008-07-23 Thread Rebhan, Gilbert
-Original Message- From: p2008 [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 12:35 AM To: user@ant.apache.org Subject: How to run an ant target on success/failed build /* I need to be able to trigger running a specific ant target when the build succeeds, and another one when

Re: How to run an ant target on success/failed build

2008-07-22 Thread Olivier Gies
One solution is to use ant-contrib's task: 1) Direct usage: 2) If you need the failure message in the mail (in combination with ant-contrib's ):