ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Bladt <l...@bladt.info>
Subject Map file names in copy task
Date Wed, 19 Aug 2009 07:03:00 GMT
Hi list,

I defined a bunch of files with a path (or a file set) to copy them in  
several tasks. Now I would like to map some of the filenames, where  
other should keep their original file name. With the mapping below,  
all not defined files won't get copied. Is there a possibility IU've  
overseen to achieve this behaviour, without define all files also in  
the mapping?

<chainedmapper>
     <flattenmapper/>
     <mapper>
         <globmapper from="file1" to="mapped_file1"/>
         <globmapper from="file2" to="mapped_file2"/>
     </mapper>
</chainedmapper>

Thanks for your help!

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


Mime
View raw message