You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Prakash Karnati <pk...@sapient.com> on 2011/01/27 15:36:34 UTC

Issue Different Time Zone - IVY Repository

Hi,

I have one query on IVY repository.

My Ivy repository is placed in a different time zone (Let's assume United States Central), And I am working in a different time zone (Let's assume India). Now I need to download the latest time stamped jar from the remote ivy repository to my workstation (located in India).

Problem being faced: Ivy on my workstation is not downloading the file from remote repository and is picking up the one in local repository because the clock on my workstation is on a different time zone that the clock on the remote repository.

What I would like to know is how to resolve dependencies and download latest jar across time zones.

And also I am attaching the ivysettings xml file.




Please send reply ASAP.


Prakkash K
Development | HJS
Mobile: +91 9620207756
Email: prakash.karnati@sprint.com
            pkarnati@sapient.com
www.sapientnitro.com<http://www.sapientnitro.com/>




Re: Issue Different Time Zone - IVY Repository

Posted by Geoff Clitheroe <g....@gmail.com>.
I would try setting the timezone for the JVM running ant/ivy to the same as
the server e.g., setting the JVM arg

-Duser.timezone='America/Arizona'

If this works then let us know...

Cheers,
Geoff


On Fri, Jan 28, 2011 at 3:36 AM, Prakash Karnati <pk...@sapient.com>wrote:

>  Hi,
>
> I have one query on IVY repository.
>
> My Ivy repository is placed in a different time zone (Let’s assume United
> States Central), And I am working in a different time zone (Let’s assume
> India). Now I need to download the latest time stamped jar from the remote
> ivy repository to my workstation (located in India).
>
> *Problem** being faced*: Ivy on my workstation is not downloading the file
> from remote repository and is picking up the one in local repositorybecausethe clock on my
> workstation is on a different time zone that the clock on the remote
> repository.
>
> What I would like to know is how to resolve dependencies and download
> latest jar across time zones.
>
> And also I am attaching the ivysettings xml file.
>
>
>
> Please send reply ASAP.
>
>
> Prakkash K
> Development |* **HJS
> **Mobile:* +91 9620207756
> *Email:* prakash.karnati@sprint.com
>             pkarnati@sapient.com
> *www.sapientnitro.com* <http://www.sapientnitro.com/>* *
>
>
>
>