Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 95256 invoked by uid 500); 18 Oct 2001 20:02:44 -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 95247 invoked from network); 18 Oct 2001 20:02:44 -0000 From: kolsen@get2hawaii.com (Kurt Olsen) To: Subject: How do I delete all files & subdirs under a directory? Date: Thu, 18 Oct 2001 10:04:10 -1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <87vghcg2uz.fsf@cush.martinhouse.internal> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Given an NFS mounting on a solaris box that I cannot attempt to delete (then recreate): /export/home/prerelease How do I delete all files and subdirs under it? I've tried 10 variations of the task and really don't want to explicitly name all the filetypes with . -----Original Message----- From: Daniel Martin [mailto:dtmartin24@home.com] Sent: Thursday, October 18, 2001 9:33 AM To: ant-user@jakarta.apache.org Subject: Re: Pattern set and ~ "ALI,HANEEF (HP-Cupertino,ex1)" writes: > Hi, > > Is there any problem with the following target. It doesn't seems to work > for > the files whose names end with ~. For other files it works. I tried > escaping it > with backslash but no luck Try adding the attribute defaultexcludes="no" to your fileset. This is documented at the end of "Directory-based Tasks" in the Ant manual.