ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p2008 <prem...@gmail.com>
Subject RE: How to run an ant target on success/failed build
Date Wed, 23 Jul 2008 17:22:25 GMT

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:prempel@gmail.com] 
> 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 it fails.  This will be used to send out
> an
> email indicating the status of the build.
> 
> I have done this in the past in nant (.NET) which has a built in
> property
> called nant.onsuccess and one called nant.onfailure.  
> 
> Is there something similar in ant, or any does anybody know how to do
> this?
> */
> 
> There's a nice presentation from Kev Jackson, that has an example
> with exec-listener, src included =
> 
> http://people.apache.org/~kevj/ossummit/extending-ant.html
> 
> That listener is exactly what you're looking for.
> 
> Regards, Gilbert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-run-an-ant-target-on-success-failed-build-tp18600235p18616082.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message