ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Innerebner <markus.innereb...@wuerth-phoenix.com>
Subject RE: particular fileset question
Date Wed, 18 Jan 2006 14:12:01 GMT
On Wed, 2006-01-18 at 14:57 +0100, RADEMAKERS Tanguy wrote:
> >-----Original Message-----
> >My intention is to include all jars in folderA and folderB, ecluding
> >jars in folderC.
> 
> how about this:
> 
> <fileset dir="${lib.dir}">
>         <include name="**/*.jar"/>
>         <exclude name="**/folderC/*.jar"/>
> </fileset> 
> 
> that should be all jars anywhere except those in folderC
> 
> /t
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

but what happens, if there are a lot of folders. Do I need to do a check
for each folder which I don't want to include. (x times execute
exclude ...) .
This is that, what I do not want to do, because I don't know from begin
which folders should be excluded. I only know which folder should be
included.

thanks 

Markus

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


Mime
View raw message