ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neta Bar Tal" <NE...@Amdocs.com>
Subject RE: how to run a target with condition task?
Date Mon, 03 May 2004 17:34:05 GMT

Hi all,
Thanks to Luis advice I used the ant-contrib <trycatch> and it worked
just fine.
Thanks Luis!


Neta Bar-Tal

* 972-9-7960521

*netab@amdocs.com


-----Original Message-----
From: Conelly, Luis (GNF, Contractor) [mailto:Luis.Conelly@gnf.com]
Sent: Monday: May 03: 2004 7:28 PM
To: Ant Users List
Subject: RE: how to run a target with condition task?

use ant-contrib <trycatch>
Works like try-catch block in java

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

Regards.
Luis

-----Original Message-----
From: Neta Bar Tal [mailto:NETAB@Amdocs.com]
Sent: Monday, May 03, 2004 11:25 AM
To: Ant Users List
Subject: how to run a target with condition task?



Hi All,
I'm trying to create the following example:


run <javac>
if <javac> failed run <kuku>


is there a way to do it with ant?



thanks in advance.


netaB






The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated
recipient(s) of the message. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination, use,
distribution or copying of

this communication is strictly prohibited and may be unlawful.

If you have received this communication in error, please notify us
immediately by replying to the message and deleting it from your
computer.
Thank you.


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

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


Mime
View raw message