Best practise is using nested <exclude> elements.
<zipfileset prefix="WEB-INF/classes"
dir="${build.compile.dir}">
<exclude name="**/ejb/**/*.class"/>
<exclude name="**/myproj/**/AConstants.class"/>
</zipfileset>
Cheers
Rainer
> -----Original Message-----
> From: Rambo Mahajan [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 07, 2005 3:21 PM
> To: [email protected]
> Subject: multiple excludes clause ??
>
>
> Hi
>
> I would like 2 excludes clause in zipfileset tag:
>
> <zipfileset prefix="WEB-INF/classes"
> dir="${build.compile.dir}" excludes="**/ejb/**/*.class" />
>
> also I want to add excludes="**/myproj/**/AConstants.class"
>
> Can someone tell me how to do this ?
>
> Thanks
> Ram
>
>
> ---------------------------------
> Click here to donate to the Hurricane Katrina relief effort.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]