Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 32692 invoked from network); 19 May 2004 11:30:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 May 2004 11:30:52 -0000 Received: (qmail 23406 invoked by uid 500); 19 May 2004 11:30:41 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 23029 invoked by uid 500); 19 May 2004 11:30:39 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 22961 invoked by uid 98); 19 May 2004 11:30:38 -0000 Received: from jalberto@cellectivity.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(212.18.242.163):. Processed in 0.118719 secs); 19 May 2004 11:30:38 -0000 X-Qmail-Scanner-Mail-From: jalberto@cellectivity.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(212.18.242.163):. Processed in 0.118719 secs) Received: from unknown (HELO leeds.cellectivity.com) (212.18.242.163) by hermes.apache.org with SMTP; 19 May 2004 11:30:37 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Question of checking file size Date: Wed, 19 May 2004 12:30:33 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question of checking file size Thread-Index: AcQ9fvoMxBsrUVM3S8OcSpDERZs7oAAFUUmQ From: "Jose Alberto Fernandez" To: "Ant Developers List" X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Guys take a look at that is one called which I guess selects files based on its size. Would that do? http://ant.apache.org/manual/CoreTypes/custom-programming.html#customsel ectors Jose Alberto > -----Original Message----- > From: Steve Loughran [mailto:steve_l@iseran.com]=20 > Sent: 19 May 2004 09:54 > To: Ant Developers List > Subject: Re: Question of checking file size >=20 >=20 > Robert MacMunn wrote: > > =20 > > Hello, > > I just started using Ant. I was wondering if anyone could=20 > > tell me how to check a size of a file. I want to skip a=20 > process if a=20 > > certain file is empty. > > =20 > > Thanks > > =20 > > Bob > > =20 > >=20 >=20 > There is nothing explicitly to do that. But there is a =20 > condition. If you have a template file that is empty, you could match=20 > your target file against that, and so know if it is empty too. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org