Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 21382 invoked from network); 14 Aug 2000 22:02:17 -0000 Received: from shofar.appliedreasoning.com (208.206.247.229) by locus.apache.org with SMTP; 14 Aug 2000 22:02:17 -0000 Received: from job.appliedreasoning.com ([10.0.1.2]) by shofar.appliedreasoning.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id RAA30597; Mon, 14 Aug 2000 17:09:20 -0500 Date: Mon, 14 Aug 2000 17:58:44 -0400 From: Chris Grindstaff X-Mailer: The Bat! (v1.45) Personal Reply-To: Chris Grindstaff Organization: Applied Reasoning X-Priority: 3 (Normal) Message-ID: <561047605557.20000814175844@appliedReasoning.com> To: Michael Klein CC: "'ant-user@jakarta.apache.org'" Subject: Re: deleting *~ with 'build clean' In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Mike, By default the Ant excludes "**/*~" files. You need to indicate in your task that you do not want the default behavior. You do that by adding the "defaultexcludes" attribute. So you would specify This is in the Ant User Manual BTW. HTH, Chris Monday, August 14, 2000, 5:39:06 PM, Michael Klein wrote: MK> As part of 'build clean', I'm trying to delete emacs '~' files in the source directory with the following task directive: MK> MK> but it seems like isn't being invoked at all. The best I can get it is an error message if I give a bad directory, but I can't seem to MK> actually get it to delete anything using the 'dir=' parameter. Am I doing something wrong? MK> I've also tried various permutations: MK> MK> MK> And none of these actually delete anything. Setting 'verbose="true"' doesn't give any extra info. MK> I'm working on WindowsNT. MK> -mike -- Chris Grindstaff chrisg@appliedReasoning.com | www.appliedReasoning.com