ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Harnack <harna...@mail05.harlau.de>
Subject Re: particular fileset question
Date Wed, 18 Jan 2006 14:16:03 GMT
With

<fileset dir="${lib.dir}">
         <include name="**/*.jar"/>
         <exclude name="**/folderC/**/*.jar"/>
</fileset>

jar files in subfolders of folderC are excluded too.

And if folderC is at top level in folder ${lib.dir}

this would be better

<fileset dir="${lib.dir}">
         <include name="**/*.jar"/>
         <exclude name="folderC/**/*.jar"/>
</fileset>

Regards,

Frank

Quoting Clifton Craig <ccraig@gbg.com>:

> On Wednesday 18 January 2006 8:57 am, 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
>
> You know what, I like that approach even better. That's alot cleaner... in
> either approach you'll get what you want. I believe the include was just
> specified wrong in his first/second post.
> ---------------------------------------------------
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> ccc@icsaward.com
> ccraig@gbg.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>





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


Mime
View raw message