ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Noack" <rai...@noacks.net>
Subject RE: multiple excludes clause ??
Date Wed, 07 Sep 2005 19:05:31 GMT

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:rambo_mahajan@yahoo.com] 
> Sent: Wednesday, September 07, 2005 3:21 PM
> To: user@ant.apache.org
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message