ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Kajsa.Ander...@thomson.com>
Subject RE: How to exclude directories
Date Wed, 16 Feb 2005 21:31:22 GMT
> I want to exclude that source directory.  Here's the target 
> I've defined:
> 
>   <target name="make_war">
>     <jar destfile="${war_dest}/toa.war" basedir="${toa_base_dir}"
>       excludes="**/vssver.scc,**/source" />
>   </target>
> 
> The SoruceSafe files (vssver.scc) get excluded just fine, but 
> no matter
> what I try for the directory I can't get it to work (I've 
> tried **/source,
> source, **/source/*.*, and a few others I don't even remember 
> right now).
> 

Have you tried source/**/*?  I'm assuming you want to exclude everything under source, no
matter how many levels deep it goes, correct?

Kajsa Anderson

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


Mime
View raw message