Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 60735 invoked from network); 6 Nov 2007 19:39:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2007 19:39:23 -0000 Received: (qmail 76913 invoked by uid 500); 6 Nov 2007 19:39:11 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 76890 invoked by uid 500); 6 Nov 2007 19:39:10 -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 76724 invoked by uid 99); 6 Nov 2007 19:39:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 11:39:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Jim.Adams@sas.com designates 149.173.6.152 as permitted sender) Received: from [149.173.6.152] (HELO mercav04.na.sas.com) (149.173.6.152) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 19:39:44 +0000 Received: from MERCMBX07.na.sas.com ([10.16.9.157]) by mercav04.na.sas.com with InterScan Message Security Suite; Tue, 06 Nov 2007 14:38:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-cr-puzzleid: {3DCC9444-7F55-4243-876F-5FD36F24F654} X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: Using buildlist to generate a repo x-cr-hashedpuzzle: Bzsf Cc8F CdDD DVhM De3m Edq4 Fy+L F2Go G06k G/VG IkYd ItJx ItkV I3xO JASK KADc;1;aQB2AHkALQB1AHMAZQByAEAAaQBuAGMAdQBiAGEAdABvAHIALgBhAHAAYQBjAGgAZQAuAG8AcgBnAA==;Sosha1_v1;7;{3DCC9444-7F55-4243-876F-5FD36F24F654};agBpAG0ALgBhAGQAYQBtAHMAQABzAGEAcwAuAGMAbwBtAA==;Tue, 06 Nov 2007 19:38:44 GMT;VQBzAGkAbgBnACAAYgB1AGkAbABkAGwAaQBzAHQAIAB0AG8AIABnAGUAbgBlAHIAYQB0AGUAIABhACAAcgBlAHAAbwA= Date: Tue, 6 Nov 2007 14:38:44 -0500 Message-ID: <688AEB1C4CF90D419DDE8D721005232B03AD154C@MERCMBX07.na.sas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using buildlist to generate a repo Thread-Index: AcggrKSmScu5M6MRQ1eFYgN+MpdNYQ== From: "Jim Adams" To: X-Virus-Checked: Checked by ClamAV on apache.org We have a set of external resources/jars that we need to put into a repo to build our products. This set consists of more than one version of some third party jars because some of our products use different versions of these jars. I created ivy.xml files and build..xml files for each of these in a directory structure that would allow me to use buildlist to generate an Ant path that would allow me to publish them in the correct order. Another by product of this is that I will end up with a reproducible process that we can use to add new versions and new jars to the repo. This all seemed pretty straightforward to me so I was surprised when one of the publishes failed because the other jars it depended on were not in the repo. In examining the output I found that I had 2 versions of Hibernate and one version of Hibernate_tools that I needed in the repo. Only the latest version of Hibernate showed up in the repo. Hibernate_tools required the older version and thus failed to resolve. When I looked that the Buildlist task in ivy 2.0 (fairly current was we are actually using a build from the trunk to try out another bug fix) I found that Buildlist uses a linkedHashMap where the key is the name of the module. Version is lost. Thus there is no way to do what I want to do. Can you think of another way to do this or do I have to re-write buildlist to handle this case? Jim Adams Jim.Adams@sas.com Principal Systems Developer SAS Institute