Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 10340 invoked from network); 17 Jun 2000 00:26:33 -0000 Received: from postoffice2.mail.cornell.edu (132.236.56.10) by locus.apache.org with SMTP; 17 Jun 2000 00:26:33 -0000 Received: from pyrotic (d3159.dialup.cornell.edu [132.236.236.159]) by postoffice2.mail.cornell.edu (8.9.3/8.9.3) with SMTP id UAA21796 for ; Fri, 16 Jun 2000 20:26:32 -0400 (EDT) Message-Id: <3.0.2.32.20000616203024.009397d0@postoffice2.mail.cornell.edu> X-Sender: tad1@postoffice2.mail.cornell.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) -- [Cornell Modified] Date: Fri, 16 Jun 2000 20:30:24 -0400 To: ant-dev@jakarta.apache.org From: Tom Dimock Subject: RE: deprecate deltree ? In-Reply-To: References: <001901bfd7cd$6a2636a0$405a36d4@noname> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At 01:13 PM 6/16/00 -0700, you wrote: >Not quite. > > > >will not delete the directory, it will just fail to match any files and do >nothing. > >Also, with delete, if the dir doesn't exist a BuildException is thrown. >With deltree there is no exception. > >BTW, thanks Tom (& Sam for committing it) for this patch. No more whining >from me! You're very welcome! There is actually a pretty significant difference. will delete all of the files in a big directory tree, but leave all of the directories and any files matched by the intact, while will delete all files and all directories.