Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15365 invoked from network); 7 Dec 2004 20:00:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Dec 2004 20:00:18 -0000 Received: (qmail 56359 invoked by uid 500); 7 Dec 2004 20:00:07 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56317 invoked by uid 500); 7 Dec 2004 20:00:06 -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 56290 invoked by uid 99); 7 Dec 2004 20:00:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.183) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 12:00:05 -0800 Received: from [212.227.126.202] (helo=mrvnet.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CblVC-0004Lp-00; Tue, 07 Dec 2004 21:00:02 +0100 Received: from [172.23.4.145] (helo=config18.kundenserver.de) by mrvnet.kundenserver.de with esmtp (Exim 3.35 #1) id 1CblVB-0005nk-00; Tue, 07 Dec 2004 21:00:01 +0100 Received: from www-data by config18.kundenserver.de with local (Exim 3.35 #1 (Debian)) id 1CblVC-0002zy-00; Tue, 07 Dec 2004 21:00:02 +0100 To: Subject: =?iso-8859-1?Q?AW:_use_fileinfo_in_ant?= From: Cc: Message-Id: <6293513$110244861541b607e75292f2.83416245@config18.schlund.de> X-Binford: 6100 (more power) X-Originating-From: 6293513 X-Mailer: Webmail X-Routing: DE X-Received: from config18 by 194.221.25.124 with HTTP id 6293513 for user@ant.apache.org; Tue, 7 Dec 2004 20:58:01 +0100 Content-Type: text/plain; charset="iso-8859-1" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Priority: 3 Date: Tue, 7 Dec 2004 20:58:01 +0100 X-Provags-ID: kundenserver.de abuse@kundenserver.de ident:@172.23.4.145 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jan, Thank you for your help. I was able to solve my problem :) A question remains: My solution seems more complicated than I would epect it to be. For instance I want to delete some directories if they are older than 7 days. My solution looks as follows: I first need to delete all the files in the directories, then I delete all the empty folders, here is my code: Does anyone see a simpler solution? Thanks -jacques >You need 3 things: >- delete task >- fileset type >- selector type > >There should be a selector for your needs. Follow the links in the manual to > >delete|fileset|selector. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org