Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 19322 invoked by uid 500); 25 Jun 2001 10:19:18 -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 19306 invoked from network); 25 Jun 2001 10:19:12 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: Let's try this again References: <13EFBBC3DB08D511A5CB0002A5095C5215F987@mail.workscapeexpress.com> From: Stefan Bodewig Date: 25 Jun 2001 12:19:13 +0200 In-Reply-To: "O'Hara, Patrick"'s message of "Fri, 22 Jun 2001 14:00:03 -0400" Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Patrick O'Hara wrote: > I want a task to delete all files in a subdirectory that have a bak > extension. OK, use includes="**/*.bak" on your fileset. > The directory may or may not have files in it. I find that the > delete task will delete the directory if there are no files in it. If your don't want this, set includeemptydirs to false, so it should be Does this do what you want? Stefan