Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 25495 invoked from network); 5 Nov 2010 16:50:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 16:50:00 -0000 Received: (qmail 96121 invoked by uid 500); 5 Nov 2010 16:50:31 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 96088 invoked by uid 500); 5 Nov 2010 16:50:31 -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 96080 invoked by uid 99); 5 Nov 2010 16:50:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 16:50:31 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [67.192.241.111] (HELO smtp111.dfw.emailsrvr.com) (67.192.241.111) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 16:50:25 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp11.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 5029AD0AE9 for ; Fri, 5 Nov 2010 12:50:05 -0400 (EDT) X-Virus-Scanned: OK Received: from smtp192.mex07a.mlsrvr.com (smtp192.mex07a.mlsrvr.com [67.192.133.192]) by smtp11.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTPS id 96268D0C69 for ; Fri, 5 Nov 2010 12:50:04 -0400 (EDT) Received: from 34093-MBX-C12.mex07a.mlsrvr.com ([192.168.1.110]) by 207040-HUB05.mex07a.mlsrvr.com ([192.168.1.200]) with mapi; Fri, 5 Nov 2010 11:50:03 -0500 From: Mike Quilleash To: "ivy-user@ant.apache.org" Date: Fri, 5 Nov 2010 11:51:10 -0500 Subject: RE: Ivy dependency revision for releasing vs development Thread-Topic: Ivy dependency revision for releasing vs development Thread-Index: Act9BvmPK1weCDuxQw6Jew72mLifIgAAlhiQ Message-ID: <8EDEDCC6C04F7E4E86BB6F6E1EAFC7EB2FB54B9612@34093-MBX-C12.mex07a.mlsrvr.com> References: <8EDEDCC6C04F7E4E86BB6F6E1EAFC7EB2FB54B95D1@34093-MBX-C12.mex07a.mlsrvr.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Thanks for the reply Steve. I guess maybe this is a function of us doing releases from the same machine= s that we develop on (small company!) so in my case the release can "see" a= local repository with dev releases which would be bad for latest.integrati= on. I'm guessing in your case your release builds are done on a dedicated = machine so you don't get this problem? Cheers. Mike. -----Original Message----- From: Steve Miller [mailto:thatguy1177@gmail.com]=20 Sent: 05 November 2010 16:31 To: ivy-user@ant.apache.org Subject: Re: Ivy dependency revision for releasing vs development Hi Mike, The way I do it is to always use latest.integration when referring to other modules that I publish. That way, the release build will pick up the latest revision in my shared repository. But if I need to change both modules, I do what you said, publish the "core" to the local repo, and so my dev environment will pick up the local copy. If there are better ways, please let us know, but this seems to work pretty well for me. Steve On Fri, Nov 5, 2010 at 12:18 PM, Mike Quilleash wrote: > Hi all, > > In my company we have a core project "core" and many client specific proj= ects "client1", "client2" etc. =A0Each revision of a client project will de= pend on a specific version of the "core" project. > > So I would have something like this... > > =A0 =A0 =A0 > > In the ivy.xml for my "client1". =A0This is all fine. > > Now I if happen to be making a change to core and wanting to test client1= against it I do the following. > > - Change core > - Run core publish build step to publish to a local resolver > - Change client1 ivy.xml to latest.integration > - Run client1 retrieve build step to pull local version of core > - Test client1 with new core version > > Now the bit I don't like is changing the ivy.xml. =A0I don't mind editing= the file as such but it's easy to check it back to source control with the= revision set to latest.integration at which point the next build will not = be using 1.0.0 anymore. =A0In my mind the ivy.xml should only be touched to= change 1.0.0 -> 1.1.0 or similar. > > How can I avoid touching the source-controlled copy of ivy.xml in the loc= al build/publish/retrieve/test cycle? =A0Can I perhaps in the client1 proje= ct have a file that is not in source control and overrides the revision of = a particular ivy dependency? > > Appreciate any suggestions. > > Mike. >