Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 42344 invoked from network); 27 Aug 2007 12:02:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 12:02:37 -0000 Received: (qmail 68490 invoked by uid 500); 27 Aug 2007 12:02:33 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 68457 invoked by uid 500); 27 Aug 2007 12:02:32 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 68448 invoked by uid 99); 27 Aug 2007 12:02:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 05:02:32 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 12:03:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IPdIC-0006Y3-EB for ivy-user@incubator.apache.org; Mon, 27 Aug 2007 05:02:04 -0700 Message-ID: <12345697.post@talk.nabble.com> Date: Mon, 27 Aug 2007 05:02:04 -0700 (PDT) From: bhatia To: ivy-user@incubator.apache.org Subject: Re: ivy demo with cruise control In-Reply-To: <635a05060708270306h1ea7e278y1e071eac0315c3bb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Bhatia@OFAC.CH References: <12342770.post@talk.nabble.com> <635a05060708270142h6e98cca8p971bd196de4f227c@mail.gmail.com> <12343634.post@talk.nabble.com> <635a05060708270306h1ea7e278y1e071eac0315c3bb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes, there is a link to the demo /ivy/demo.html from the ivy home page. 1) So it seems all I need to do this is to publish to the local repository (developer workstation specifying rev="latest.integration") and referring to it through a chain resolver from a dependant project. Is my understanding correct ? thanks Xavier Hanin wrote: > > On 8/27/07, bhatia wrote: >> >> >> I was referring to the following tutorial on the Ivy website: >> http://demos.worldofjava.org/fullstack-demo.htm >> http://demos.worldofjava.org/fullstack-demo.htm > > > These demos are not on the Ivy website... but maybe you've found a link > from > Ivy website? I thought I had removed it though, since it's also a demo of > a > commercial product. > > I also want to publish a modified project in the local repository; I guess >> that can be done with Cruise Control. > > > No, CruiseControl does not publish to a local repository (by local I mean > on > the developer workstation). It publishes to an integration repository. > > But how do I tell Ivy, that it should >> resolve from the local repository and not from the network repository ? > > It's because the local repository is the first in a chain where return > first > is set to true. I think you can get details on this in the default > settings > tutorial, and the multi-project example. > > Xavier. > > > For example, in your demo (URL mentioned above), you do a resolve on the >> File project and that gets you the dependency from the local repository >> (the >> List project on which you made changes). How do you do that ? >> >> thanks >> >> >> Xavier Hanin wrote: >> > >> > On 8/27/07, bhatia wrote: >> >> >> >> >> >> Hello, >> >> Its a very inspiring demo. Thats exactly what I want to implement, the >> >> ability to find a dependency in the workspace. For example, the File >> >> project >> >> is able to resolve a modified dependency (the list project) in the >> local >> >> workspace. How does that happen ? >> >> I thought I would normally be required to first publish the list >> project >> >> to >> >> the repository with my changes and then do a resolve in the File >> project >> >> from IvyDE to get my changes in the list project. >> >> Can someone explain me how to do this in Ivy ? Or maybe I need >> >> CruiseControl >> >> with IvyCruise to do this trick. >> > >> > >> > I'm not sure about which demo you're referring to. With a continuous >> > integration server, what you can do is make the server publish each >> > integration build to a repository, so that a new version is available >> each >> > time someone commit. You don't need a plugin for this, all CI server >> can >> > call the target you want, and it's up to you to publish your module in >> > your >> > build.xml target called by the server. If you want to get a locally >> > modified >> > version, you need to publish it to a repository, but we recommend to >> > publish >> > it to a local repository (on the developer workstation), so that the >> > locally >> > modified version is only available to the developer. I think the >> tutorial >> > on >> > dependent projects demonstrate this (and the multi project too, but >> there >> > isn't much doc). >> > >> > Is it clearer now? >> > >> > Xavier >> > >> > thanks >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/ivy-demo-with-cruise-control-tf4333778.html#a12342770 >> >> Sent from the ivy-user mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > Xavier Hanin - Independent Java Consultant >> > http://xhab.blogspot.com/ >> > http://incubator.apache.org/ivy/ >> > http://www.xoocode.org/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/ivy-demo-with-cruise-control-tf4333778.html#a12343634 >> Sent from the ivy-user mailing list archive at Nabble.com. >> >> > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://incubator.apache.org/ivy/ > http://www.xoocode.org/ > > -- View this message in context: http://www.nabble.com/ivy-demo-with-cruise-control-tf4333778.html#a12345697 Sent from the ivy-user mailing list archive at Nabble.com.