Hi,

Sorry, this was intended for the list. I need to revisit my email client's settings for "reply to".

Best regards,
George



-------- Original Message --------
Subject:        Re: [classlib] build / test system
Date:   Tue, 14 Feb 2006 11:55:57 +0000
From:   George Harley <[EMAIL PROTECTED]>
Reply-To:       [EMAIL PROTECTED]
To:     Stepan Mishura <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>



Hi Stepan,

Right.

The running of the "get" task could always be conditional on some property passed into Ant.
e.g.

-DIAmInAHurryAndDontWantToRelyOnTheNetwork=true


Best regards,
George
IBM UK


Stepan Mishura wrote:

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 <http://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