Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 19129 invoked from network); 20 Aug 2008 06:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 06:45:36 -0000 Received: (qmail 606 invoked by uid 500); 20 Aug 2008 06:45:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 567 invoked by uid 500); 20 Aug 2008 06:45:27 -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 556 invoked by uid 99); 20 Aug 2008 06:45:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 23:45:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [129.184.85.11] (HELO odin2.bull.net) (129.184.85.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 06:44:28 +0000 Received: from fr-hub.frcl.bull.fr (fr-hub.frcl.bull.fr [129.184.87.22]) by odin2.bull.net (8.9.3/8.9.3) with ESMTP id IAA25744 for ; Wed, 20 Aug 2008 08:55:23 +0200 Received: from [129.184.13.106] ([129.184.13.106]) by bjn-001.bull.net (Lotus Domino Release 6.0.1) with ESMTP id 2008082014402140-370 ; Wed, 20 Aug 2008 14:40:21 +0800 Message-ID: <48ABBBB1.1090104@bull.net> Date: Wed, 20 Aug 2008 14:37:37 +0800 From: Olivier Gies Reply-To: olivier.gies@bull.net Organization: Bull Information Systems (Beijing) Co., Ltd. User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Ant Users List Subject: Re: AW: variables or a counter ? References: <06080D44730F41428BAF2168FA8BDD800240FA3C@icsrv02.icongmbh.de> In-Reply-To: <06080D44730F41428BAF2168FA8BDD800240FA3C@icsrv02.icongmbh.de> X-MIMETrack: Itemize by SMTP Server on BJN-001/CN/BULL(Release 6.0.1|February 07, 2003) at 08/20/2008 14:40:21, Serialize by Router on FR-HUB/FR/BULL(Release 5.0.11 |July 24, 2002) at 20/08/2008 08:43:38, Serialize complete at 20/08/2008 08:43:38 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org To do what you want to do, I would use Ant's in combination with condition returning the number of files with a size over the limit you want to set in a fileset including only the file being downloaded. I have used this method with great efficiency for similar tasks (waiting for a server to start/fail by looking up the server log for a certain start-up string) BR *Olivier Gies* *Delivery Manager Customs & Tax Software Engineering Center Bull, Architect of an Open World ^TM Phone: +86 (10) 65978001 - Ext 555 * *www.bull.com * *This e-mail contains material that is confidential for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.* -------- Original Message -------- Subject: AW: variables or a counter ? From: Knuplesch, Juergen To: Ant Users List Date: 19/08/2008 21:30 > Antcontrib has a Math Task to add and variables that can change their value. > It also has a for task. > > http://ant-contrib.sourceforge.net/tasks/tasks/index.html > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org