ant-user mailing list archives

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

----- Original Message -----
From: "dc" <>
To: "'Ant Users List'" <>

> 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

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

View raw message