You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Ciramella, EJ" <EC...@emptoris.com> on 2004/01/22 21:15:24 UTC

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?

Re: delete cvs dirs

Posted by Matt Benson <gu...@yahoo.com>.
--- "Ciramella, EJ" <EC...@emptoris.com> wrote:
>    <delete defaultexcludes="false">
>      <fileset dir=".">
>       <include name="**/CVS/**"/>
>     </fileset>
>    </delete>
> What am I doing wrong?


Try moving the defaultexcludes attribute to the
fileset.

-Matt

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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