ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Rytov" <>
Subject RE: Is there a way to catch FAILURE case?
Date Mon, 13 Jan 2003 16:54:52 GMT
I agree this possibility exists but pure XML looks much more simplier
than JavaScript/Object encoded case. Though my descriptor is not SO big
I wouldn't go this way. Converting all targets into Javascript wrapping
ones doesn't exite me:-) It's easier might be to create a custom target
for my particular case.

	-----Original Message-----
	From: Martin Gainty [] 
	Sent: Monday, January 13, 2003 6:38 PM
	To: Roman Rytov;
	Subject: Re: Is there a way to catch FAILURE case?


	Did you try enclosing all of the code within javascript???
	<project name="squares" default="main" basedir=".">
	  <target name="setup">
	    <script language="javascript"> <![CDATA[
	      for (i=1; i<=10; i++) {
	        echo = squares.createTask("echo");
	    ]]> </script>
	  <target name="main" depends="setup"/>


	Let us know of your progress..
	Best Regards,

	Martin Gainty



		Disclaimer and confidentiality note

		Everything in this e-mail and any attachments relating
to the official business of Laconia Data Systems (LDS) is proprietary to
the company. It is confidential, legally privileged and protected by
law. LDS does not own and endorse any other content. Views and opinions
are those of the sender unless clearly stated as being that of LDS. 

		The person addressed in the e-mail is the sole
authorised recipient. Please notify the sender immediately if it has
unintentionally reached you and do not read, disclose or use the content
in any way.


		LDS can not assure that the integrity of this
communication has been maintained nor that it is free of errors, virus,
interception or interference.




	>From: "Roman Rytov" 
	>Reply-To: "Ant Users List" 
	>To: "Ant Users List" 
	>Subject: Is there a way to catch FAILURE case? 
	>Date: Mon, 13 Jan 2003 18:05:44 +0200 
	>MIME-Version: 1.0 
	>Received: from ([]) by with Microsoft SMTPSVC(5.0.2195.5600); Mon, 13
Jan 2003 08:06:15 -0800 
	>Received: (qmail 15499 invoked by uid 97); 13 Jan 2003 16:07:09
	>Received: (qmail 15425 invoked by uid 98); 13 Jan 2003 16:07:08
	>Mailing-List: contact; run by
	>Precedence: bulk 
	>List-Id: "Ant Users List" 
	>Delivered-To: mailing list 
	>X-Antivirus: nagoya (v4218 created Aug 14 2002) 
	>content-class: urn:content-classes:message 
	>X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 
	>Thread-Topic: Is there a way to catch FAILURE case? 
	>Thread-Index: AcK3Vqe0tY+tgPLpTlWbE+62sWglagDxoS0A 
	>X-Spam-Rating: 1.6.2 0/1000/N 
	>X-OriginalArrivalTime: 13 Jan 2003 16:06:15.0285 (UTC)
	>In my script I access VSS and at the beginning check out some
files. At 
	>the end of the script I check them in back. I want to catch all
	>situations and to make logical action (check those files in in
my case). 
	>Is there a way to apply a kind of FINALLY in Ant? 
	>Roman Rytov 
	>To unsubscribe, e-mail: 
	>For additional commands, e-mail: 


	MSN 8 with e-mail virus protection service: 2 months FREE*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message