ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: If one execution is failed <java...
Date Fri, 20 Apr 2007 09:22:18 GMT
 
Hi,

have a look on antcontrib's <try> / <catch> :

http://ant-contrib.sourceforge.net/tasks/tasks/trycatch.html

you could put those critical java tasks inside a try catch construct
and do an echo or other stuff before fail.

Regards, Gilbert 


-----Original Message-----
From: Denis Bessmertnyj [mailto:dbes@isd.dp.ua] 
Sent: Friday, April 20, 2007 11:04 AM
To: Ant Users List
Subject: If one execution is failed <java...

I have a lot of <java ... executions in one build.xml.
If one execution is failed I need to know about it. How I may get this
info?
Note that all <java tasks write output to separate files and I can't use

this info.

---
Denis Bessmertnyj,
GUI SoftWeb 


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


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


Mime
View raw message