ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: "Copy" accepts FileList without any directory limitation - enhancement?
Date Mon, 11 Aug 2003 13:59:17 GMT
It may be better to allow <copy/>
to take a <path/> element.
This would generalize better.

Peter

On Monday 11 August 2003 14:43, Adam Hardy wrote:
> Currently this sort of task to copy a random bunch of files doesn't work:
>
> <target name="testCopyFromDifferentDrives">
>    <copy todir="." >
>      <filelist
>        files="D:/file1.tmp,F:/file2.tmp"/>
>    </copy>
> </target>
>
> The user cannot use a FileList in the Copy, and even then, the FileList
> demands a common directory to which the files in the list are all relative.
>
> I have just submitted a enhancement
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22298
>
> with some patches that allow the user to do the above.
>
> I want to use this in my build.xml deploy target, so that I do not have
> to name all the jars that I want to copy. With this change I can name
> them all in a build.properties file and then do this:
>
> <filelist files="${external.jars}"/>
>
> I can see other places where this is useful too, e.g. dist
>
> If you are in favour of this change, I humbly crave your indulgence to
> grace this bug with a vote in bugzilla.
>
> :)
>
> Adam


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


Mime
View raw message