ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Replacing with File Size
Date Wed, 02 Mar 2005 10:20:04 GMT
http://marc.theaimsgroup.com/?l=ant-user&m=110418389806438&w=2
getting file size

Jan

> -----Ursprüngliche Nachricht-----
> Von: Haiges, Sven, Vodafone Group R&D 
> [mailto:Sven.Haiges@vodafone.com]
> Gesendet am: Mittwoch, 2. März 2005 11:14
> An: Apache Ant User List (E-Mail)
> Betreff: Replacing with File Size 
> 
> Hi there,
> 
> this is related to the Filter Core Taks in Ant. It allows you 
> to replace
> occurrences like @size@ with a value like 1000. My problem is that  I
> need to determine the size of a jar file dynamically ( a previous ant
> target creates this jar file) and then need to set the size 
> of that file
> into another text-file. 
> 
> Does anyone know how I can simplay determine the byte-size of a file
> from ant and take that output and replace the occurrence of 
> @size@ with
> the size determined?
> 
> Thanx a lot for you help.
> 
> Cheers\
> Sven
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message