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 <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> 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
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to