Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24906 invoked from network); 16 Jun 2009 15:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 15:58:52 -0000 Received: (qmail 74256 invoked by uid 500); 16 Jun 2009 15:59:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74185 invoked by uid 500); 16 Jun 2009 15:59:02 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74167 invoked by uid 99); 16 Jun 2009 15:59:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 15:59:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.144.11.110] (HELO smtp.living-e.de) (213.144.11.110) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 15:58:53 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.living-e.de (Postfix) with ESMTP id 469AE633038 for ; Tue, 16 Jun 2009 17:58:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at living-e.de Received: from smtp.living-e.de ([127.0.0.1]) by localhost (krusty.hq.living-e.zz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRc+msSMUwUb for ; Tue, 16 Jun 2009 17:58:31 +0200 (CEST) Received: from lisa.hq.living-e.zz (lisa.hq.living-e.zz [10.10.1.13]) by smtp.living-e.de (Postfix) with ESMTP id 78AD5633034 for ; Tue, 16 Jun 2009 17:58:31 +0200 (CEST) Received: from amy.xm.living-e.zz (10.20.1.25) by lisa.hq.living-e.zz (10.10.1.13) with Microsoft SMTP Server (TLS) id 8.1.340.0; Tue, 16 Jun 2009 17:58:31 +0200 Received: from amy.xm.living-e.zz ([10.20.1.25]) by amy.xm.living-e.zz ([10.20.1.25]) with mapi; Tue, 16 Jun 2009 17:58:30 +0200 From: Sascha Ernst To: "user@ant.apache.org" Date: Tue, 16 Jun 2009 17:58:30 +0200 Subject: delete directory structures older than X days Thread-Topic: delete directory structures older than X days Thread-Index: Acnum0rhvPYzt8OSTJKKd7x7xfOcAw== Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I googled the mailing list archive and found a matching solution based on j= avascript for ant 1.5. I'm using ant 1.7.1 and tried this to delete NBS-folders (NightlyBuildSyste= m) older than a specific amount of time. =09 =20 =20 =09 Unfortunately this construction does not delete anything :-( The console says this: delete.old.stuff: [echo] borderline.timestamp=3D06/06/2009 17:32 PM [echo] delete NBS-run** in F:/NightlyBuildSystem before 06/06/2009 17:= 32 PM [echo] artifact.dir=3DF:\NightlyBuildSystem/CruiseControl/artifacts/Ma= ilminder NBS [echo] delete **/**/* in F:\NightlyBuildSystem/CruiseControl/artifacts= /Mailminder NBS before 06/06/2009 17:32 PM [stopwatch] [timer.delete.old.stuff: 0.844 sec] [echo] DONE : delete.old.stuff Is there something I'm doing completely wrong? Is there any possibility to delete such old stuff without using javascript = anyway? Thanks for your time and your help Regards ///Sascha Ernst/// --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org