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 2003/08/11 15:15:05 UTC
DO NOT REPLY [Bug 22298] New: -
"Copy" could take filelists where files are on different drives
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