ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29011] - Enhance the <copy/>-tag to support filesets for both source *and* destination
Date Mon, 17 May 2004 12:51:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29011

Enhance the <copy/>-tag to support filesets for both source *and* destination





------- Additional Comments From peter.reilly@corvil.com  2004-05-17 12:51 -------
As a work-around, you could try <for> from ant-contrib:
<project xmnls:ac="antlib:net.sf.antcontrib">
  <ac:for param="dir">
     <ac:path>
        <ac:dirset dir="." includes="*"/>
     </ac:path>
     <ac:sequential>
        <copy todir="@{dir}">
           <fileset .../>
         </copy>
     </ac:sequential>
   </ac:for>
</project>

or using a cvs head version of <for>
<project xmnls:ac="antlib:net.sf.antcontrib">
  <ac:for param="dir">
     <dirset dir="." includes="*"/>
     <ac:sequential>
        <copy todir="@{dir}">
           <fileset .../>
         </copy>
     </ac:sequential>
   </ac:for>
</project>

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


Mime
View raw message