ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Rytov" <>
Subject RE: How to iterate in Ant?
Date Tue, 29 Jul 2003 21:37:01 GMT
Ok, the question is as follows. I have to generate (to bind) for every
XML-Schema a corresponding Java file. This task exists in jwsdp-1.2. I
can pass a directory where all the schemas are stored but I wanna pass
each schema-file's name as a parameter to create an output directory for
each own. I thought to do it by iterating through the files and calling
the task for each of them. 

Btw, ant-contrib works Ok for such a simple task and I'm fine with it
(unless there is no 'standard' solution).


> -----Original Message-----
> From: Ciramella, EJ [] 
> Sent: Wednesday, July 30, 2003 00:05 AM
> To: 'Ant Users List'
> Subject: RE: How to iterate in Ant?
> Better yet, what exactly are you trying to do?  Why all the 
> properties in a property file?
> -----Original Message-----
> From: Roman Rytov []
> Sent: Tuesday, July 29, 2003 3:58 PM
> To:
> Subject: How to iterate in Ant?
> Is there any way to iterate a collection? Let's say I wanna 
> call a task for each property in a file or for each file in a 
> directory and pass a name as a parameter of the task. 

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

View raw message