ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haiges, Sven, Vodafone Group R&D" <Sven.Hai...@vodafone.com>
Subject Replacing with File Size
Date Wed, 02 Mar 2005 10:13:31 GMT
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
View raw message