You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Kavanagh <dk...@gmail.com> on 2006/12/21 16:21:44 UTC

getting file size?

If there is a way, I haven't found it... but I'm going to ask anyway.
Is there any way to get the size of a file into a property? I need to
update a .jad file and I know there are special tasks for doing it,
but I'd rather be able to use normal file filtering using a props set.

Daivd

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


Re: getting file size?

Posted by David Kavanagh <dk...@gmail.com>.
Thanks! The synonym generator in my head wasn't working!

On 12/21/06, Scot P. Floess <fl...@mindspring.com> wrote:
> David:
>
> look at the <length> task...
>
> It works for files...
>
> David Kavanagh wrote:
> > If there is a way, I haven't found it... but I'm going to ask anyway.
> > Is there any way to get the size of a file into a property? I need to
> > update a .jad file and I know there are special tasks for doing it,
> > but I'd rather be able to use normal file filtering using a props set.
> >
> > Daivd
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> --
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
>
> 252-478-8087 (Home)
> 919-754-4592 (Work)
>
> Chief Architect JPlate  http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Re: getting file size?

Posted by "Scot P. Floess" <fl...@mindspring.com>.
David:

look at the <length> task...

It works for files...

David Kavanagh wrote:
> If there is a way, I haven't found it... but I'm going to ask anyway.
> Is there any way to get the size of a file into a property? I need to
> update a .jad file and I know there are special tasks for doing it,
> but I'd rather be able to use normal file filtering using a props set.
>
> Daivd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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