Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 77968 invoked from network); 28 Jan 2011 08:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2011 08:34:30 -0000 Received: (qmail 51691 invoked by uid 500); 28 Jan 2011 08:34:30 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 51235 invoked by uid 500); 28 Jan 2011 08:34:27 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 51222 invoked by uid 99); 28 Jan 2011 08:34:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 08:34:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbonvin@vaudoise.ch designates 195.141.80.8 as permitted sender) Received: from [195.141.80.8] (HELO vaudoise.ch) (195.141.80.8) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 08:34:20 +0000 Received: from [172.17.15.221] (helo=sgex00d.vaudoise.ch) by vaudoise.ch stage1 with esmtp (Exim MailCleaner) id 1PijmJ-0002jC-Ot for from ; Fri, 28 Jan 2011 09:33:59 +0100 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Issue Different Time Zone - IVY Repository Date: Fri, 28 Jan 2011 09:34:01 +0100 Message-ID: <3CEF9551CEAFAE4F84B6E67FECB8B4B1036A8BAC@sgex00d.vaudoise.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Issue Different Time Zone - IVY Repository Thread-Index: Acu+VvKzUza+q3PDSRurCCV5iWJ4SgAZy7ig Importance: normal Priority: normal From: "Bonvin John" To: X-Virus-Checked: Checked by ClamAV on apache.org Hi Geoff, I imagine your solution should work for Prakash because he has = only 1 remote repo in another timezone. But will not be efficient if he = had to connect to 2 remote repositories in 2 different timezones from = his own timezone. I haven't found anything about that in the = documentation. Maybe this problem is not that common because most people avoid using = "latest-time" as latest strategy, especially when working with remote = repositories. See documentation = http://ant.apache.org/ivy/history/latest-milestone/settings/latest-strate= gies.html. Yet I'd be interested in knowing how to deal with this use case (repos = in 3 different timezones) in Ivy. Best regards, John Vaudoise Assurances=20 John Bonvin DS - DDI - Vie Place de Milan CH-1001 Lausanne=20 T=E9l +41 21 618 82 38 Fax +41 21 618 83 94=20 mailto:jbonvin@vaudoise.ch=20 http://www.vaudoise.ch=20 -----Message d'origine----- De : Geoff Clitheroe [mailto:g.clitheroe@gmail.com]=20 Envoy=E9 : jeudi, 27 janvier 2011 20:18 =C0 : ivy-user@ant.apache.org Objet : Re: Issue Different Time Zone - IVY Repository 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=3D'America/Arizona' If this works then let us know... Cheers, Geoff On Fri, Jan 28, 2011 at 3:36 AM, Prakash Karnati = 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* * * > > > > _Disclaimer = Vaudoise.ch______________________________________________________________= __ Le pr=E9sent courriel, y compris les pi=E8ces jointes, s'adresse = exclusivement =E0 la (aux) personne(s) ou =E0 la soci=E9t=E9 =E0 = laquelle (auxquelles) il est destin=E9 et peut comporter des = informations confidentielles et/ou prot=E9g=E9es par la loi. Toute = divulgation, reproduction ou utilisation de ces informations est = interdite et peut =EAtre ill=E9gale. Si vous n'=EAtes pas destinataire = de ce courriel, merci de le d=E9truire imm=E9diatement et d'en aviser = l'exp=E9diteur. This e-mail, including attachments, is intended for the person(s) or = company named and may contain confidential and/or legally privileged = information. Unauthorized disclosure, copying or use of this information = may be unlawful and is prohibited. If you are not the intended = recipient, please delete this message and notify the sender.