ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: FileSet of 1 file?
Date Wed, 10 Oct 2001 13:13:40 GMT
Peter Donald wrote:

> Hi,
> 
> I just had a discussion with someone about FileSet behaviour. Is there a 
> reason that FileSet does not allow specification of a single file. Something 
> like;
> 
> <fileset file="foo.txt" />
> 
> Currently you have to specify a directory of "." then include "foo.txt". 
> However this is not really possible when the file you are using is 
> userdefined. Mainly as you don't know what directory it is located in and 
> thus can't get at it as ant doesn't have a dirname task.
> 
> Would there be any objections to me adding such functionality?
> 


A filelist type was added just prior to the 1.4 release and would seem 
to be more appropriate. Whether the two could be unified, I haven't look 
into yet.

Conor



Mime
View raw message