ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <>
Subject Having trouble with <exclude> syntax
Date Thu, 07 Apr 2005 16:00:25 GMT
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/**/*"/>

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.

Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message