<for param="filename">
    <fileset ... />
    <sequential>
        <echo>@{filename}</echo>
    </sequential>
</for>

you just need the AntContrib.


Jan

-----Urspr�ngliche Nachricht-----
Von: Pfau Oliver FRD II [mailto:[EMAIL PROTECTED]
Gesendet am: Mittwoch, 9. M�rz 2005 08:09
An: 'Ant Users List'
Betreff: AW: Iteration over files

How you address the files name ? E. g. I have to extract 
several jar-files
and I want to create a directory like <filename>_temp for each 
file...then
do something....jar the contents of the dir and delete the temp 
dir... I am
not sure how to do this...

-----Urspr�ngliche Nachricht-----
Von: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 8. M�rz 2005 19:07
An: Ant Users List
Betreff: RE: Iteration over files


What's wrong with using a fileset?

-Rob A

> -----Original Message-----
> From: Pfau Oliver FRD II [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 08, 2005 1:19 AM
> To: '[email protected]'
> Subject: Iteration over files
> 
> 
> Hi,
> 
> I want to apply some ant tasks over jar-files. How can I
> iterate over the
> jar files and invoke the ant tasks without putting it in the fileset ?
> 
> Thanks
> Oliver
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to