ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <>
Subject Re: Deleting directories
Date Tue, 13 Feb 2001 18:51:37 GMT
Brett Ramdeen wrote:

> Hehe, this one will work for sure:
> <target name="clean">
>         <delete dir="path_to_cvs" />
> </target>
> For example, on my machine the <delete> task is written as:
> <delete dir="/usr/home/bramdeen/cvs" />

This is not what he wants to do.  Use

  <fileset dir="base_dir" defaultexcludes="no">
    <include name="**/CVS/**" />

By default, there is a "**/CVS/**" excludes pattern associated with
every fileset (implicit or explicit).  To do anything with CVS
dirs/files, you need to use the "defaultexcludes" attribute to turn off
this automatic exclude.

Glenn McAllister

View raw message