ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <>
Subject Re: "Copy" accepts FileList without any directory limitation - enhancement?
Date Mon, 11 Aug 2003 15:49:09 GMT
peter reilly wrote:
> On Monday 11 August 2003 14:59, Adam Hardy wrote:
>>You mean, nest the FileList inside a Path?
> Yep,
> or a path="path;..." form.
> However, the copy task has a <mapper/> element
> with uses the base directory of the <fileset>'s.
> This makes it difficult to modify <copy> to properly support <path>'s or
> any file name container without a base directory.

There are other issues as well - apparently the FileList class is viewed 
as 'broken' anyway, which seems slightly radical (see the posts to bugzilla)

Basically if the concensus is that FileList is dead in the water, I 
would still like to hear whether people think the proposed functionality 
is popular.

As far as the mapper is concerned, I would think certain types of 
mapping are possible, e.g. flatten, glob & regexp, while others were 
obviously impossible as you point out - e.g. identity. That could be 
checked and aborted by an exception.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message