ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Having trouble with <exclude> syntax
Date Thu, 07 Apr 2005 19:52:30 GMT
Hello Bohra,
Try <exclude name ="WEB-INF/**"/>
Antoine
> Hello all,
> 
> I am trying to selectively delete 80% of a directory
> tree with the following calls:
> 
>    <delete includeemptydirs="true">
>       <fileset dir="deploy/Webroot">
>          <exclude name="WEB-INF/*.xml"/>
>          <exclude name="WEB-INF/**/*"/>
>       </fileset>
>    </delete>
> 
> And I am ending up deleting too much.  
> 
> What I want to do is NOT delete the contents of the
> WEB-INF directory NOR its sub-directories.
> 
> Any suggestions.
> 
> 
> 		

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


Mime
View raw message