ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject RE: foreach
Date Mon, 09 Aug 2004 17:56:04 GMT
Matt-

Yes I have specified true for overwrite flag
The problem seems to be a file/IO issue with Java VM threads
I hit this before in a situation last year where I would ask build.xml do to 
file I/O
and it did'nt do it..
The solution is that I can set a property to the existence or non-existence 
of the file

Is this correct ???

thanks,

Martin Gainty

(cell) 617-852-7822
(e) webmaster@laconiadatasystems.com
(http)www.laconiadatasystems.com





>From: "Inger, Matthew" <Inger@Synygy.com>
>To: 'Martin Gainty ' <mgainty@hotmail.com>,'Ant Users List ' 
><user@ant.apache.org>
>Subject: RE: foreach
>Date: Mon, 9 Aug 2004 08:59:46 -0400 MIME-Version: 1.0
>Received: from smtp1.synygy.com ([207.106.136.36]) by mc1-f32.hotmail.com 
>with Microsoft SMTPSVC(5.0.2195.6824); Mon, 9 Aug 2004 06:03:03 -0700
>Received: from localhost (smtp1.synygy.com [127.0.0.1])by smtp1.synygy.com 
>(Postfix) with ESMTP id D7B9C58C467;Mon,  9 Aug 2004 09:02:01 -0400 (EDT)
>Received: from smtp1.synygy.com ([127.0.0.1]) by localhost 
>(smtp1.synygy.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 
>09841-12; Mon,  9 Aug 2004 09:02:01 -0400 (EDT)
>Received: from wine.synygy.net (wine.synygy.net [10.12.0.218])by 
>smtp1.synygy.com (Postfix) with ESMTP id DD01758C448;Mon,  9 Aug 2004 
>09:02:00 -0400 (EDT)
>Received: by wine.synygy.net with Internet Mail Service (5.5.2657.72)id 
><MTP15W01>; Mon, 9 Aug 2004 08:59:48 -0400
>X-Message-Info: JGTYoYF78jF71Sc6+qaCBKoR0hbOGioH
>Message-ID: <F369B5B779D1794FB19653920D62D3BD9D472B@kossuth.synygy.net>
>X-Mailer: Internet Mail Service (5.5.2657.72)
>List-Help: <mailto:user-help@ant.apache.org>
>List-Subscribe: <mailto:user-subscribe@ant.apache.org>
>List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
>X-Virus-Scanned: by amavisd-new at synygy.com
>Return-Path: Inger@Synygy.com
>X-OriginalArrivalTime: 09 Aug 2004 13:03:03.0966 (UTC) 
>FILETIME=[34DD03E0:01C47E11]
>
>  Have you made sure you're forcing the copy with the
>overwrite flag?
>
>
>-----Original Message-----
>From: Martin Gainty
>To: Ant Users List
>Sent: 8/8/2004 6:47 PM
>Subject: foreach
>
>Hello:
>
>I ask assistance in a scenario which is driving me bananas
>
>In a foreach within which iterates through antcalls to a target
>Given All properties for one iteration are identical to 2nd iteration
>properties
>Within the task a copy operation is used to create a new file from the
>variables to
>place in the (target) todir
>1st iteration works
>2nd iteration never works
>I have echoed all the properties and they are populated in both
>iterations
>the iterator used is called 'number' which does properly increment from
>1 to
>2
>
>Are there any outstanding bugs on the use of copy within antcall to
>target
>within foreach ?
>Any outstanding bugs on the use of copy to create a file with antcall?
>Yes there are filtersets to filter the input within the copy task
>
>Many Thanks,
>Martin
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx


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


Mime
View raw message