ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
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/**/*"/>
      </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.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

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


Mime
View raw message