ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludwig, Michael" <>
Subject RE: help in copy files from list
Date Thu, 26 Aug 2010 08:12:32 GMT
> -----Original Message-----
> From: Rajesh Kumar [] 

> I have one file called list.txt where i have mentioned all 
> the files which need to be copied from specific directry.
> can you please help me with the right copy task syntax which 
> read the files name from list.txt and copy to destination directory???

This should work:

<!-- vim: set filetype=ant :-->
  <copy verbose="true" overwrite="yes" todir="tmp">
      <!-- Nimmt die in der Datei enthaltenen Ressourcen (Dateinamen). -->
      <file file="filelist.txt"/>
    <globmapper from="D:\Temp\*" to="*"/>

Michael Ludwig

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

View raw message