Deleting directories with wildcards

2001-05-30 Thread Greg Vaughn
I have a situation where I have directories like this: base: HR1: HR2: HR3: X1: X2: file1.txt file2.txt I want to delete all directory trees except base/X* and *.txt so that I end up with: base: X1: X2: file1.txt file2.txt I've tried:

RE: Deleting directories

2001-02-26 Thread Tim Vernum
Gary Lawson [mailto:[EMAIL PROTECTED]] wrote: > I am simply trying to delete the contents (files and > sub-directories) of a > number of directories. > ant appears to be ignoring the contents of my target. Works for me. I copied your target, defined the properties, and it did what I expected.

RE: Deleting directories

2001-02-26 Thread Arvid . Amundsen
0 To: [EMAIL PROTECTED] Subject: Deleting directories Firstly, apologies for what (I hope) is a simple question. I am simply trying to delete the contents (files and sub-directories) of a number of directories. ant appears to be ignoring the contents of my

Deleting directories

2001-02-26 Thread Gary Lawson
Firstly, apologies for what (I hope) is a simple question. I am simply trying to delete the contents (files and sub-directories) of a number of directories. ant appears to be ignoring the contents of my target. The code is as follows:

RE: Deleting directories

2001-02-13 Thread Jeff Davies
question I did learn more about filesets, and I'm pretty happy about that. Thanks to everyone that commented on my question! - Jeff -Original Message- From: Rick Szeto [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 11:32 AM To: [EMAIL PROTECTED] Subject: Re: Deleting

Re: Deleting directories

2001-02-13 Thread Rick Szeto
ssible to delete the CVS directories also? BTW > - Thanks for the great response on this question! I do learn alot from this > list. > > - Jeff > > -Original Message- > From: Glenn McAllister [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 13, 2001 10:52 AM

RE: Deleting directories

2001-02-13 Thread Jeff Davies
. - Jeff -Original Message- From: Glenn McAllister [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 10:52 AM To: [EMAIL PROTECTED] Subject: Re: Deleting directories Brett Ramdeen wrote: > Hehe, this one will work for sure: > > > > > > For example, on

Re: Deleting directories

2001-02-13 Thread Glenn McAllister
Brett Ramdeen wrote: > Hehe, this one will work for sure: > > > > > > For example, on my machine the task is written as: > > This is not what he wants to do. Use By default, there is a "**/CVS/**" excludes pattern associated with every fileset (i

RE: Deleting directories

2001-02-13 Thread Brett Ramdeen
Title: RE: Deleting directories Hehe, this one will work for sure:     For example, on my machine the task is written as: >> -Original Message- >> From: Jeff Davies [mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, February 13, 2001 1:22 PM >&g

RE: Deleting directories

2001-02-13 Thread Jeff Davies
ssage- From: Brett Ramdeen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 10:09 AM To: '[EMAIL PROTECTED]' Subject: RE: Deleting directories >>>> >> >> The 'dir' attribute should specify the base directory th

RE: Deleting directories

2001-02-13 Thread Brett Ramdeen
Title: RE: Deleting directories >>>>   >>  >>   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:     Brett

Deleting directories

2001-02-13 Thread Jeff Davies
Hi all, I'm trying to delete all of the CVS directories in a project. I'm using the following target to get the job done, but its not working: Deleting all CVS directories in the project. I hope you know what you are doing! Any idea what I'm doing wr