ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: delete cvs dirs
Date Thu, 22 Jan 2004 20:21:14 GMT
whoops, the following works...

  <target name="cleanupcvs">
   <delete>
     <fileset dir="." defaultexcludes="false">
      <include name="**/CVS/**"/>
    </fileset>
   </delete>
  </target>

-----Original Message-----
From: Ciramella, EJ [mailto:ECiramella@emptoris.com]
Sent: Thursday, January 22, 2004 3:15 PM
To: 'Ant Users List'
Subject: delete cvs dirs


I would like to delete all the CVS directories in the build tree.

Here is my target:
  <target name="cleanupcvs">
   <delete defaultexcludes="false">
     <fileset dir=".">
      <include name="**/CVS/**"/>
    </fileset>
   </delete>
  </target>

Here is the message I get and nothing gets deleted:

[delete] DEPRECATED - Use of the implicit FileSet is deprecated.  Use a
nested fileset element instead.


What am I doing wrong?

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