And to detect whether it is stale or not you need network. Right?

It is very inconvenient to find out in the middle of the build that network
is too slow and it will take hours to download new version of a jar file.
You know, it always happens when you are in a big hurry :-)

Thanks,
Stepan


On 2/14/06, George Harley <george.c.harley <at> googlemail.com> wrote:
>
> Hi Alexey,
>
> The "usetimestamp" attribute of Ant's "get" task kind of offers this
> functionality. Setting the attribute value to "true" means that the
> download only proceeds if the local copy of the resource is missing or
> stale.
>
> There is more information on this at
> http://ant.apache.org/manual/CoreTasks/get.html
>
> Best regards,
> George
> IBM UK
>
>
>
> Alexey Petrenko wrote:
> >> Well, it would be nice. However I don't like build scripts that depend
> on
> >> network.
> >>
> > Yes, there should be the possibility to download needed jars once and
> > forget about network.
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
>
>

Reply via email to