From ivy-user-return-2538-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Sat Feb 23 16:55:19 2008 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 96112 invoked from network); 23 Feb 2008 16:55:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2008 16:55:19 -0000 Received: (qmail 66388 invoked by uid 500); 23 Feb 2008 16:55:13 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 66369 invoked by uid 500); 23 Feb 2008 16:55:13 -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 66360 invoked by uid 99); 23 Feb 2008 16:55:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2008 08:55:13 -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: local policy) Received: from [209.191.125.210] (HELO n11.bullet.mail.mud.yahoo.com) (209.191.125.210) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 23 Feb 2008 16:54:23 +0000 Received: from [209.191.108.97] by n11.bullet.mail.mud.yahoo.com with NNFMP; 23 Feb 2008 09:50:09 -0000 Received: from [68.142.201.68] by t4.bullet.mud.yahoo.com with NNFMP; 23 Feb 2008 16:54:43 -0000 Received: from [127.0.0.1] by omp420.mail.mud.yahoo.com with NNFMP; 23 Feb 2008 16:54:43 -0000 X-Yahoo-Newman-Id: 230378.20004.bm@omp420.mail.mud.yahoo.com Received: (qmail 89240 invoked from network); 23 Feb 2008 16:06:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=ulrUWXl+uETSHGYPOQv+O48H9ZE2uXhV1sy8SewFWj0RvFRcMCbLWaYosbERuSZBMBY1eNabNkaptqpBuJMxT7SxOzFRccVOBuHAxJTi9Hx/Gc4lYVgYficTJL7ppNZi1xVBazgpEY9QAVKiloBM6AQIkFmGgjXGz7BOzdgUgtw= ; Received: from unknown (HELO ?192.168.1.101?) (neilmatthewlott@76.25.203.246 with plain) by smtp109.plus.mail.mud.yahoo.com with SMTP; 23 Feb 2008 16:06:53 -0000 X-YMail-OSG: on5q5aEVM1nzWvHfpMEFIbI1YkanhMq5bzvLWdXefX3VwmsGKtFTRGtLaxxr0lAWKJV14KLyXH_pdY5CVeo1DrRYXaDwJQkFaAVs31ESrIt2OMR6vJE- X-Yahoo-Newman-Property: ymail-3 Message-Id: <43019C5E-84AE-42CD-9965-C5ADF030D6F6@yahoo.com> From: Neil Lott To: ivy-user@ant.apache.org In-Reply-To: <635a05060802211111t64383990q6a279bace851208a@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: conflicts Date: Sat, 23 Feb 2008 09:06:51 -0700 References: <635a05060802211111t64383990q6a279bace851208a@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org Done -- https://issues.apache.org/jira/browse/IVY-743 Neil On Feb 21, 2008, at 12:11 PM, Xavier Hanin wrote: > On Thu, Feb 14, 2008 at 11:35 AM, Neil Lott > > wrote: > >> I have three configurations: >> >> interface, server, test >> server extends interface >> test extends server >> >> Here's my ivy.xml dependencies: >> >> >> > conf="interface->default"/> >> >> > conf="server->default"/> >> > conf="server->default"/> >> >> > conf="server- >>> default"/> >> > conf="server->default"/> >> > conf="server->default"/> >> > rev="2.1.3_2007_4_13 >> " >> conf="server->default"/> >> > conf="server->default"/> >> > conf="server->default"/> >> > conf="server->default"/> >> > rev="2.1.3_2007_4_13 >> " >> conf="server->default"/> >> >> >> >> >> >> >> >> Here's my output: >> >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/jaxb- >> xjc-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won >> [ivy:retrieve] removing conflict looser artifact: >> jaxb#jaxb-xjc; >> 2.1.3_2007_4_13!jaxb-xjc.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/log4j-1.2.8.jar in >> [interface, server, test]: 1.2.8 won >> [ivy:retrieve] removing conflict looser artifact: >> log4j#log4j;1.2.8! >> log4j.jar >> [ivy:retrieve] removing conflict looser artifact: >> log4j#log4j;1.2.8! >> log4j.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/joda-time-1.5.jar in >> [server, test]: 1.5 won >> [ivy:retrieve] removing conflict looser artifact: joda- >> time#joda- >> time;1.5!joda-time.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/logkit-1.2.jar in >> [server, test]: 1.2 won >> [ivy:retrieve] removing conflict looser artifact: >> jacorb#logkit;1.2! >> logkit.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/antlr-2.7.2.jar in >> [server, test]: 2.7.2 won >> [ivy:retrieve] removing conflict looser artifact: >> jacorb#antlr;2.7.2! >> antlr.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/jaxb- >> impl-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won >> [ivy:retrieve] removing conflict looser artifact: >> jaxb#jaxb-impl; >> 2.1.3_2007_4_13!jaxb-impl.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/avalon- >> framework-4.1.5.jar in [server, test]: 4.1.5 won >> [ivy:retrieve] removing conflict looser artifact: >> jacorb#avalon- >> framework;4.1.5!avalon-framework.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/isa-1.4.4.jar in >> [server, test]: 1.4.4 won >> [ivy:retrieve] removing conflict looser artifact: twc#isa; >> 1.4.4! >> isa.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/jaxb- >> jsr173-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won >> [ivy:retrieve] removing conflict looser artifact: jaxb#jaxb- >> jsr173;2.1.3_2007_4_13!jaxb-jsr173.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/jacorb-2.2.2.jar in >> [server, test]: 2.2.2 won >> [ivy:retrieve] removing conflict looser artifact: >> jacorb#jacorb; >> 2.2.2!jacorb.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/jaxb- >> api-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won >> [ivy:retrieve] removing conflict looser artifact: >> jaxb#jaxb-api; >> 2.1.3_2007_4_13!jaxb-api.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/msa4j-1.0.jar in >> [server, test]: 1.0 won >> [ivy:retrieve] removing conflict looser artifact: >> twc#msa4j;1.0! >> msa4j.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/concurrent-1.3.2.jar >> in >> [server, test]: 1.3.2 won >> [ivy:retrieve] removing conflict looser artifact: >> concurrent#concurrent;1.3.2!concurrent.jar >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/jaxb- >> activation-2.1.3_2007_4_13.jar in [server, test]: 2.1.3_2007_4_13 won >> >> So for example log4j is part of all three configurations so what's >> the >> conflict? >> >> [ivy:retrieve] conflict on /Users/neil/Business/ >> SnowyRangeConsulting/ >> projects/twc/depot/server/releases/main/ivylib/log4j-1.2.8.jar in >> [interface, server, test]: 1.2.8 won >> >> My main concern is slowing down the build with multiple modules >> having >> to resolve conflicts given my configurations. > > This conflict is only a retrieve time conflict: Ivy finds that > several files > need to be copied at the same location. But in your case it's > actually the > same file, so it shouldn't be considered as a conflict at all. Could > you > open a bug in JIRA? BTW, you can safely ignore these messages, Ivy > ends up > with copying the right file at the right place. > > Xavier > > >> >> >> Thanks, >> >> Neil >> > > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ > http://www.xoocode.org/