You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/05/15 17:47:25 UTC

DO NOT REPLY [Bug 29011] New: - Enhance the -tag to support filesets for both source *and* destination

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

           Summary: Enhance the <copy/>-tag to support filesets for both
                    source *and* destination
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: tfa.x@inter.nl.net


Currently, a copy operation is performed as follows:
    
<copy todir="${dist.dir}">
    <fileset dir=".">
        <include name="${copyfilename.file}"/>
    </fileset>
</copy>

This means multiple copy-tags are needed to copy a source-fileset to a destination
consisting of multiple locations.

This is an unneeded and unconistent (in relation to the idea behind Ant)
constraint, and takes no great effort to solve.

The benefit of this enhancement is a smaller (and thus: more readable)
build.xml, especially for copy-intensive Ant build scripts.

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