ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haiges, Sven, Vodafone Group R&D" <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message