Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 66826 invoked from network); 9 Sep 2002 11:35:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Sep 2002 11:35:41 -0000 Received: (qmail 5811 invoked by uid 97); 9 Sep 2002 11:36:06 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5795 invoked by uid 97); 9 Sep 2002 11:36:05 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 5783 invoked by uid 98); 9 Sep 2002 11:36:05 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Geoff Meakin" To: "Ant Users List" Subject: RE: How to delete multiple folders by pattern? Date: Mon, 9 Sep 2002 12:35:28 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3C53060D92E4494B8317F094925570BB0195D3D3@moc-gen-mai-01.corp.sfcommerce.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've got a feeling that because of a bug in the task, I think this wont work easily at the moment unless its been fixed. You should be able to use the task (see ant-contrib on sourceforge), the URL of which is frequently posted on this mailing list if you search for "ant-contrib" and do something like the following: Alternatively as a hack you can copy the delete-root somewhere else, as the defaultexcludes will not copy any CVS directories. And then copy this back but it takes longer. You're supposed to be able to do something like: However this will delete all empty directories, not just the (newly-deleted) CVS ones, so this may or may not be applicable in your situation Personally speaking I'd use the first method. Hope this helps Cheers -Geoff -----Original Message----- From: Stacy Young [mailto:Stacy.Young@sfcommerce.com] Sent: 07 September 2002 06:34 PM To: 'ant-user@jakarta.apache.org' Subject: How to delete multiple folders by pattern? I'm trying to delete all instances of a folder called CVS within a directory structure but for the life of me I can't get it right... Any help appreciated! Stace AVIS IMPORTANT: ------------------------------- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: ------------------------------- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. -- To unsubscribe, e-mail: For additional commands, e-mail: