ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Ramdeen <bramd...@echoworx.com>
Subject RE: Deleting directories
Date Tue, 13 Feb 2001 18:30:26 GMT
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" />


>> -----Original Message-----
>> From: Jeff Davies [mailto:JDavies@Ceon.com]
>> Sent: Tuesday, February 13, 2001 1:22 PM
>> To: 'ant-user@jakarta.apache.org'
>> Subject: RE: Deleting directories
>> 
>> 
>> Thanks for the tip, but that didn't work either, however, Ant did not
>> complain about the task, so we are moving in the right 
>> direction! Not only
>> did the CVS directories remain, all of the file they 
>> contained are still
>> there alslo. Most curious! Any other ideas?
>> 
>> - Jeff
>> 
>> -----Original Message-----
>> From: Brett Ramdeen [mailto:bramdeen@echoworx.com]
>> Sent: Tuesday, February 13, 2001 10:09 AM
>> To: 'ant-user@jakarta.apache.org'
>> Subject: RE: Deleting directories
>> 
>> 
>> >>>>       <delete> 
>> >>          <fileset dir="**/CVS/**" /> 
>> >>       </delete> 
>> The 'dir' attribute should specify the base directory that 
>> you want to
>> delete.  It should not contain any patterns. 
>> Change your delete task to this: 
>> <delete> 
>>         <fileset dir="whatever_your_base_dir_is" 
>> includes="**/CVS/**" /> 
>> </delete> 
>> 
>> 
>> Brett 
>> 

Mime
View raw message