Re: Replacing with File Size

2005-03-03 Thread Ivan Ivanov
> > Ant 1.6.3 (and recent nightly builds) will contain a > length task that can set a property to the length of > a file or string. OK, but why a task only for a file length? The mailing list archives contains examples for file length, last modified date and a check whether a directory is empty a

Re: Replacing with File Size

2005-03-02 Thread Matt Benson
--- "Haiges, Sven, Vodafone Group R&D" <[EMAIL PROTECTED]> wrote: [SNIP] > 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? Ant 1.6.3 (and recent nightly builds) will contain a

Re: Replacing with File Size

2005-03-02 Thread Ivan Ivanov
Sven, --- "Haiges, Sven, Vodafone Group R&D" <[EMAIL PROTECTED]> wrote: > > 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? This script does this: