ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Czernuszka" <george.czernus...@nscgroup.co.uk>
Subject RE: fileset exclude with full path
Date Mon, 17 Sep 2007 15:23:59 GMT
 
> From: Eric Dalquist [mailto:eric.dalquist@doit.wisc.edu] 
> Sent: 17 September 2007 16:10
> 
> I have a full path to a directory that I want to create a 
> fileset of and a full path to a sub-directory that I want to exclude.
> 
> I've tried the following and some variations on it:
> <fileset id="projectFiles" dir="/a/b/c/" excludes="/a/b/c/d/**" />
> 
> No matter what I try I can't seem to get the excludes path to 
> be honored.
> 
> I unfortunately do not have the ability to change the 
> sub-directory path to a relative path instead of a full path, 
> it is being populated from another task that I do not have 
> control over.
> 
> Thank you,
> -Eric

Could you try the <PropertyRegex> task in ant-contrib to construct a
relative path?





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


Mime
View raw message