ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jet Hariramani" <jetesh.hariram...@analine.com>
Subject <delete>
Date Fri, 31 May 2002 18:18:56 GMT
Hi!

I have been going crazy trying to write a delete task for the following dir structure:

D:\aaa
  |
  | --------------D:\aaa\bbb
  |
  | --------------D:\aaa\ccc
  |
  | --------------D:\aaa\ddd
  |

all directories have subdirectories.  I want to delete everything under D:\aaa except for
the subtree D:\aaa\ccc

This is not working...
 <delete includeEmptyDirs="true">
     <fileset dir="D:/aaa">
     <exclude name="ccc"/>
   </fileset>
  </delete>

Any help would be appreciated!  I am using ANT 1.4.1

Thanks!!!!


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message