ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: fill a property with filesize
Date Thu, 31 Oct 2002 15:19:21 GMT
Sounds like a task for this is overkill. How about trying out <script>? One
or two lines of JavaScript (or BeanShell, or whatever else BSF scripting
language) should do the trick. Just read carefully the dependencies section
of the manual to get the appropriate JARs you need to get it running (At
minimum bsf.jar, plus the JAR of the scripting engine). --DD

-----Original Message-----
From: Veld in 't, GJ (Geert Jan) [mailto:G.J.Veld@rf.rabobank.nl] 
Sent: Thursday, October 31, 2002 4:39 AM
To: 'ant-user@jakarta.apache.org'
Subject: fill a property with filesize

Hi,

I want to fill a property with the size of a given file. I cant find any
existing functionality for that.

Is there a task wich can do this for me?
Should i create a new task for that?
Or should i extend an existing one? (which?)



Kind regards,
Geert Jan in 't Veld

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message