Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 13768 invoked from network); 9 Oct 2002 10:10:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Oct 2002 10:10:28 -0000 Received: (qmail 27306 invoked by uid 97); 9 Oct 2002 10:11:18 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 27286 invoked by uid 97); 9 Oct 2002 10:11:17 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 27261 invoked by uid 98); 9 Oct 2002 10:11:16 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3DA4024C.70201@cgbi.fr> Date: Wed, 09 Oct 2002 12:17:48 +0200 From: Alexandre Touret Organization: CGBI User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: How to delete directory tree but not main directory. References: <86EF8CCED669654A9A8354F13A495BFA35BD31@embexcil01.emblaze.ent> Content-Type: multipart/alternative; boundary="------------010104070605090004040303" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------010104070605090004040303 Content-Type: text/plain; charset=windows-1255; format=flowed Content-Transfer-Encoding: 7bit in the worst case, you can delete tour dir with all subdirs and after create a directory with the same name sorry .... Alexandre Touret Eloise Friedman wrote: >I tried, but I don't want to have to specify all the names of the subdirs, and if I write exclude name="${basedir}/bin" then the delete doesn't do anything. > >-----Original Message----- >From: Alexandre Touret [mailto:alexandre.touret@cgbi.fr] >Sent: Wednesday, October 09, 2002 11:47 AM >To: Ant Users List >Subject: Re: How to delete directory tree but not main directory. > > >did you tryed with the tag ?? > >Alexandre Touret >Eloise Friedman wrote: > > > >>Hello to you all. >>For one of my clean tasks I want to delete a directory tree, but leave the base directory. >>For example, my file system looks like this: >> >>homeDir/oneDir/twoDir/src >> lib >> bin/Html/*.html >> Js/*.js >> Xml/*.xml >> Xsl/*.xsl >> *.* >> >>I want to delete all the files and directories under bin, but not the bin directory itself. >> >> >>All my experiments, including using include/exclude in , deleteEmptyDir etc have either removed the bin directory itself, or left empty dirs under bin, which I don't want.I don't want to specify all the directory names under bin, because then if we add a directory I need to modify the build file. >> >>Sadly enough, I saw on the web that the "bug" which didn't remove the base directory for the delete process has been fixed for release 1.4, but that's what I need!! >> >>Thank you all for your time. >> >> >> >> >>Eloise >> >>09-7699457. >> >> >> >> >> >>Eloise >> >>09-7699457. >> >> >>************************************************************************************************** >>The contents of this email and any attachments are confidential. >>It is intended for the named recipient(s) only. >>If you have received this email in error please notify the system manager or the >>sender immediately and do not disclose the contents to any one or make copies. >> >>** eSafe scanned this email for viruses, vandals and malicious content ** >>************************************************************************************************** >> >> >>-- >>To unsubscribe, e-mail: >>For additional commands, e-mail: >> >> >> >> >> >> > > > -- ________________________________ Alexandre Touret CGBI - France Telecom e-Business 2, rue Auguste Comte 92170 Vanves tel.:01/46/12/62/17 Poste:12.62.17 fax.: 01/56/66/41/60 mailto:alexandre.touret@cgbi.fr mailto:alexandre.touret@fteb.net --------------010104070605090004040303--