Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 52203 invoked by uid 500); 29 Mar 2001 15:16:20 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 52190 invoked from network); 29 Mar 2001 15:16:20 -0000 From: Eric.Hardesty@Bull.com Subject: RE: Directory delete question To: ant-user@jakarta.apache.org Date: Thu, 29 Mar 2001 08:15:53 -0700 Message-ID: X-MIMETrack: Serialize by Router on US-PHX1/US/BULL(Release 5.0.4 |June 8, 2000) at 03/29/2001 08:15:53 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I tried this but I get a message saying that Class org.apache.tools.ant.types.FileSet doesn't support the "includeemptydirs" attribute. I deleted this and got all the files deleted, but none of the directories. Eric KC Baltz on 03/29/2001 07:28:50 AM Please respond to ant-user@jakarta.apache.org To: "'ant-user@jakarta.apache.org'" cc: Subject: RE: Directory delete question Ideally, the following should work in Ant 1.3 However, there was a bug with includeEmptyDirs when 1.3 was released that causes it to not remove directories if they have subdirectories, even if those subs are empty. It has been fixed since and you could patch your copy to work. But try they above, see if it fixes it for you. K.C. > -----Original Message----- > From: Eric.Hardesty@Bull.com [mailto:Eric.Hardesty@Bull.com] > Sent: Wednesday, March 28, 2001 6:58 PM > To: ant-user@jakarta.apache.org > Subject: Directory delete question > > > I've just downloaded Ant and have found it very useful for > keeping track of > different > builds, but I was wondering how to delete a number of > directories. I'm > building > buildyyyymmdd.hhmm directories and at some point later I want > to be able to > delete > them so I really want something like this > > > > > I looked at FileSets but that seems to only include files, > same with include. > > Thanks > Eric >