Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 32885 invoked from network); 26 May 2003 08:04:17 -0000 Received: from dnsinet.rzf-nrw.de (193.109.238.66) by daedalus.apache.org with SMTP; 26 May 2003 08:04:17 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.9/8.12.9) with ESMTP id h4Q84Rdb011532 for ; Mon, 26 May 2003 10:04:27 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id ; Mon, 26 May 2003 10:04:28 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF691E@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: Getting the size of a file Date: Mon, 26 May 2003 10:04:27 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3235D.6D848D40" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3235D.6D848D40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Back from holiday I am doing my emails ... ... and have a solution for you :-) I used the Jan > -----Urspr=FCngliche Nachricht----- > Von: Morten Mortensen [mailto:Morten.Mortensen@TietoEnator.com] > Gesendet am: Dienstag, 13. Mai 2003 11:59 > An: 'Ant Users List' > Betreff: Getting the size of a file >=20 >=20 > Hi Ant-fans, >=20 > Is it really true, that it is impossible to get the size of a=20 > file - would > like it as a property-value - ? >=20 > E.g. many MIDP-upload-programs *insist* on having the correct=20 > size of the > JAR-file in the JAD-file and I would like to build JAD-files=20 > from templates > by replacing values, but the missing "size of file" prohibits this... = >=20 > A generic "get size of file in bytes" could be quite useful. >=20 > ? >=20 > Med venlig hilsen=20 > Morten Sabroe Mortensen=20 > mailto:Morten.Mortensen@tietoenator.com=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 ------_=_NextPart_001_01C3235D.6D848D40--