ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: echoing filesize
Date Wed, 30 Jul 2003 11:22:10 GMT

----- Original Message -----
From: "dc" <dc@wm.namco.co.jp>
To: "'Ant Users List'" <user@ant.apache.org>


> Is there a built in ant task that can echo a filesize?
> can task output be directed to a variable?
>
There is no built in ant task to do this.
You can do it with a bit of embedded javascript.
In ant1.6 there is a scriptdef task with which you can write on the fly your
custom task in javascript, embedded in the build.xml
Cheers,
Antoine



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


Mime
View raw message