ant-user mailing list archives

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

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 ???


Martin Gainty

(cell) 617-852-7822

>From: "Inger, Matthew" <>
>To: 'Martin Gainty ' <>,'Ant Users List ' 
>Subject: RE: foreach
>Date: Mon, 9 Aug 2004 08:59:46 -0400 MIME-Version: 1.0
>Received: from ([]) by 
>with Microsoft SMTPSVC(5.0.2195.6824); Mon, 9 Aug 2004 06:03:03 -0700
>Received: from localhost ( [])by 
>(Postfix) with ESMTP id D7B9C58C467;Mon,  9 Aug 2004 09:02:01 -0400 (EDT)
>Received: from ([]) by localhost 
>( []) (amavisd-new, port 10024) with ESMTP id 
>09841-12; Mon,  9 Aug 2004 09:02:01 -0400 (EDT)
>Received: from ( [])by 
> (Postfix) with ESMTP id DD01758C448;Mon,  9 Aug 2004 
>09:02:00 -0400 (EDT)
>Received: by 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: <>
>X-Mailer: Internet Mail Service (5.5.2657.72)
>List-Help: <>
>List-Subscribe: <>
>List-Unsubscribe: <>
>X-Virus-Scanned: by amavisd-new at
>X-OriginalArrivalTime: 09 Aug 2004 13:03:03.0966 (UTC) 
>  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
>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
>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
>the iterator used is called 'number' which does properly increment from
>1 to
>Are there any outstanding bugs on the use of copy within antcall to
>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,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Get ready for school! Find articles, homework help and more in the Back to 
School Guide!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message