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: Iteration over files
Date Wed, 09 Mar 2005 07:29:11 GMT
<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:Oliver.Pfau@zf.com]
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:Rob.Anderson@nike.com] 
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:Oliver.Pfau@zf.com]
> Sent: Tuesday, March 08, 2005 1:19 AM
> To: 'user@ant.apache.org'
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


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

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