Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21336 invoked from network); 5 Aug 2004 01:14:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Aug 2004 01:14:53 -0000 Received: (qmail 40456 invoked by uid 500); 5 Aug 2004 01:14:41 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 40414 invoked by uid 500); 5 Aug 2004 01:14:41 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 40400 invoked by uid 99); 5 Aug 2004 01:14:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [203.202.42.4] (HELO mxhost1.ato.gov.au) (203.202.42.4) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 18:14:38 -0700 Received: from usfr066.safer.tax ([203.202.44.65]) by mxhost1.ato.gov.au (8.12.10/8.12.9) with ESMTP id i751Dtrv001581 for ; Thu, 5 Aug 2004 11:13:55 +1000 (EST) Received: from usfr021.primary.ceg.tax (usfr021-qfe2.primary.ceg.tax [172.20.158.1]) by usfr066.safer.tax with ESMTP id i751ETno015351 for ; Thu, 5 Aug 2004 11:14:29 +1000 (EST) Received: (from smap@localhost) by usfr021.primary.ceg.tax (8.12.10/8.12.10) id i751ETBc005599 for ; Thu, 5 Aug 2004 11:14:29 +1000 (EST) Received: from nodnsquery(10.33.40.52) by usfr021 via smap (V5.5) id xma003813; Thu, 5 Aug 04 11:12:04 +1000 Received: from cbr07m002.prod.atonet.gov.au (unverified) by cbr07m011.prod.atonet.gov.au (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Thu, 5 Aug 2004 11:11:54 +1000 Received: from cbr07m001.prod.atonet.gov.au ([10.33.48.5]) by cbr07m002.prod.atonet.gov.au with Microsoft SMTPSVC (6.0.3790.0); Thu, 5 Aug 2004 11:11:53 +1000 Received: from cbr01m002.prod.atonet.gov.au ([10.34.48.16]) by cbr07m001.prod.atonet.gov.au with Microsoft SMTPSVC (6.0.3790.0); Thu, 5 Aug 2004 11:11:53 +1000 Received: from cbr01m001.prod.atonet.gov.au ([10.34.48.5]) by cbr01m002.prod.atonet.gov.au with Microsoft SMTPSVC (6.0.3790.0); Thu, 5 Aug 2004 11:11:53 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Subject: RE: delete dir with wilcard Date: Thu, 5 Aug 2004 11:11:52 +1000 Message-ID: <1E75DD4776B804498B5FC3B2BF736DDE148953@cbr01m001.prod.atonet.gov.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: delete dir with wilcard Thread-Index: AcR6h9Pd7fnVmCDKRyODTmsjD7W2xAAAUrkA From: "Perkins, Kristian" To: "Ant Users List" X-OriginalArrivalTime: 05 Aug 2004 01:11:53.0311 (UTC) FILETIME=[3184C6F0:01C47A89] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Try using with a Kristian -----Original Message----- From: Paul Wallace [mailto:paulw@isell.com.au]=20 Sent: Thursday, 5 August 2004 11:03 AM To: Ant Users List Subject: delete dir with wilcard Hi, Having read the fine manual (fully?), I am still at a loss for a solution to my problem. I want to delete a directory (and all its contents (files/sub dirs etc)), but I do not know the name of it, all I do know, is the path to its parent directory, and the begining of the directory name - hence the wilcard query. My directory will always be called jar....something. How can I remove it using Ant, with a wildcard (or by any means). E.g: =20 c:\mydir\jar-1.7.0\myFile.jar =20 how can I do something like:=20 =20 delete c:\mydir\jar*=20 =20 in an Ant expression please?=20 =20 thanks alot =20 Paul. **************************************************************** IMPORTANT The information transmitted is for the use of the intended recipient only = and may contain confidential and/or legally privileged material. Any review= , re-transmission, disclosure dissemination or other use of, or taking of a= ny action in reliance upon, this information by persons or entities other t= han the intended recipient is prohibited and may result in severe penalties= . If you have received this e-mail in error please notify the Privacy Hotl= ine of the Australian Taxation Office, telephone 13 28 69 and delete all co= pies of this transmission together with any attachments.=20 **************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org