ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: foreach
Date Mon, 09 Aug 2004 12:52:03 GMT
1. Would be better to see your code
2. If you can do, update to Ant 1.6(.2) and rewrite the foreach to <for>.
   That would internally use a <macrodef> instead of an <antcall> which is
   much faster.

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Martin Gainty [mailto:mgainty@hotmail.com]
> Gesendet am: Montag, 9. August 2004 00:48
> An: Ant Users List
> Betreff: 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
> 

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