ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <EGuttri...@buildonline.com>
Subject RE: recursively delete directories
Date Tue, 19 Nov 2002 14:58:20 GMT
Hi,

No - I only want to delete the "CVS" directories in a tree of hundreds of
required directories.


-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com]

Did you try just <delete dir="${cvs_output_dir}" defaultExcludes="no" />

Jake

At 09:16 AM 11/19/2002 +0000, you wrote:
>Yes, tried that.
>
>-----Original Message-----
>From: Nathan Christiansen [mailto:Nathan_Christiansen@morinda.com]
>Sent: 18 November 2002 20:22
>To: Ant Users List
>Subject: RE: recursively delete directories
>
>
>Have you tried:
>
>includes = "**/CVS"
>
>
>-- Nathan Christiansen
>    Morinda, Inc.
>    http://www.tahitiannoni.com
>
>-----Original Message-----
>From: Euan Guttridge [mailto:EGuttridge@buildonline.com]
>Sent: Monday, November 18, 2002 11:41 AM
>To: 'ant-user@jakarta.apache.org'
>Subject: recursively delete directories
>
>
>Hi,
>
>I cannot figure out the syntax to recursively delete all directories and
>their contents called "CVS" in a tree. My task is below, this only deletes
>the contents, not the actual directories.
>
>
><!-- Delete CVS CheckOut files -->
><target name="delete_CVS_co_files">
>         <delete includeEmptyDirs="true">
>                 <fileset dir="${cvs_output_dir}"
>                         includes ="**/CVS/*"
>                         defaultexcludes="no"
>                 />
>         </delete>
></target>
>
>
>Thanks for any pointers..
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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


Mime
View raw message