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: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.
Date Fri, 07 Apr 2006 11:15:58 GMT
<copy>
    <fileset/>
    <globmapper from="*.*" to="${os.name}_${buildnumber}_\1"/>

or something like that...


Jan


>-----Urspr√ľngliche Nachricht-----
>Von: Heikki Qvist [mailto:heikki.qvist@elisanet.fi] 
>Gesendet: Donnerstag, 6. April 2006 21:00
>An: Ant Users List
>Betreff: Re: Dynamically increase the number of arguments to 
>EXEC task based on the number and name of the file(s) in a directory.
>
>Hi,
>
>I have similar issue. A lot of list files which are used to 
>generate real filenames.
>
>How to do extending these (eg. src,doc,bin,testsuite) to 
>Linux_BUILDNUMBER_src.zip etc without hardcoding lits items? 
>Their amount may differ in different branches also naming 
>convention how final published names put together may change 
>every now and then. Really want to normalize my configuration.

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


Mime
View raw message