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 22298] New: - "Copy" could take filelists where files are on different drives
Date Mon, 11 Aug 2003 13:15:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22298

"Copy" could take filelists where files are on different drives

           Summary: "Copy" could take filelists where files are on different
                    drives
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: adam.hardy@cyberspaceroad.com


<target name="testCopyFromDifferentDrives"> 
    <touch file="D:/copytestfilelist1.tmp"/>
    <touch file="F:/copytestfilelist2.tmp"/>
    <copy todir="." >
      <filelist 
        files="D:/copytestfilelist1.tmp,F:/copytestfilelist2.tmp"/>
    </copy>
  </target>

currently doesn't work. I am submitting a patch based on 1.6alpha that enables
this. It affects taskdefs/Copy.java and types/FileList.java.

One of the reasons why this is useful: at deploy time, instead of listing all
the jar files in my build.xml, I can put the list in a build.properties and so I
don't have to edit my build.xml whenever I add a new jar dependency.

I have written tests for the patch too. I can write more if anybody wants to
suggest them. 

If this enhancement is taken on, I'd be willing to add the FileList
functionality to other taskdefs that could accept it.

This enhancement could be related to 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20635

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


Mime
View raw message