Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 44420 invoked from network); 3 Sep 2008 20:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 20:11:49 -0000 Received: (qmail 99399 invoked by uid 500); 3 Sep 2008 20:11:46 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 99384 invoked by uid 500); 3 Sep 2008 20:11:46 -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 99373 invoked by uid 99); 3 Sep 2008 20:11:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 13:11:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [38.115.152.27] (HELO smtpgwout1.classifiedventures.com) (38.115.152.27) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 20:10:48 +0000 Received: from CHIEXVS2.corp.classifiedventures.com ([172.17.18.32]) by smtpgwout1.classifiedventures.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Sep 2008 15:12:12 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Migration to IVY Date: Wed, 3 Sep 2008 15:12:12 -0500 Message-ID: In-Reply-To: <1220472518.7223.22.camel@matt-desktop> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Migration to IVY Thread-Index: AckOAQZWsHN1tNCdQPuKwUnP9vA++QAACRIQ References: <93B3B6122B906D44BC7E8B8CEFB0DBBB18450F054F@SGP-EXCHANGE.pointserve.com> <1220472518.7223.22.camel@matt-desktop> From: "Becheanu, Daniel" To: , X-OriginalArrivalTime: 03 Sep 2008 20:12:12.0498 (UTC) FILETIME=[5A07B320:01C90E01] X-Virus-Checked: Checked by ClamAV on apache.org Hi, You can use http://ant.apache.org/ivy/history/trunk/use/install.html To move artifacts from a public repo to your local repo( filesystem/svn.. etc) -----Original Message----- From: Mathew Joseph [mailto:mjoseph@bravurasolutions.com]=20 Sent: Wednesday, September 03, 2008 3:09 PM To: Loehr, Ruel Cc: 'ivy-user@ant.apache.org' Subject: RE: Migration to IVY My idea was to use the public repo for the very first time so that I have a minimal repository to start with. The idea being that it will be time consuming to create the repository from scratch. Instead, I do one resolve with all my dependencies. This will create a local ivy cache from which I will cull out all the transitive dependency versions that I didnt want and replace them with the versions that I am using, update the pom.xmls or ivy.xmls. Once i get a reasonable repository structure, then I prevent access to public repos.. -----Original Message----- From: Loehr, Ruel To: 'ivy-user@ant.apache.org' , 'mjoseph@bravurasolutions.com' Subject: RE: Migration to IVY Date: Wed, 3 Sep 2008 15:01:57 -0500 Your steps are correct. If you are doing this for work, then never ever depend on a public repository. You have no control over it and things do change (even when they shouldn't). Your best bet is too either: 1) maintain an inhouse repo (and have it tape backuped) 2) or setup an archive proxy (see the maven project for those sort of things) I tend to do #1 as it allows me the most control. -----Original Message----- From: Mathew Joseph [mailto:mjoseph@bravurasolutions.com] Sent: Wednesday, September 03, 2008 2:58 PM To: ivy-user@ant.apache.org Subject: Migration to IVY Hello there, The 3rd party dependencies that our project depends on are stored in subversion and are retrieved as part of an svn checkout along with the source code. Dependency management is non existent. We are about to migrate to an IVY based system and I wanted to know what is the experience of people who might have attempted something similar. Steps I will need to take. 1. Identify exact version number of the dependencies and transitive dependencies that we are using 2. Move them into a maven or custom repository format hosted either in subversion or plain file system served by http. I believe the idea is to ensure that I only resolve the first level dependency in my scripts and all transitive dependencies are pulled in by IVY. However, this means my custom repository needs to have either via pom.xml or ivy.xml defined for all first level dependencies. I was wondering that it will be very time consuming for me to recreate the artifact repository from scratch. Do you guys think it makes sense to create a ivy.xml with version numbers and have ivy resolve them from a public repository. Once I do a retrieve, I then use the local cache as the first version of my custom repository and then start adding in all the dependencies that I did not find in public repos. This will ensure the repository has ivy.xml for all dependencies. Then close out ivysettings.xml to use only the internal http resolver as opposed to looking out in public repos. I am more inclined to use a maven repository style as opposed to a custom one since I can then use maven repository managers to handle proxying and mirroring other public repos. My thoughts are a bit random on this, but I hope you get the general picture.. regards, Mathew Joseph Build & Release Engineer Bravura Solutions Mathew Joseph Build & Release Engineer Bravura Solutions