ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-743) Ivy reports a conflict when the same file is supposed to be retrieved at the same location twice (or more)
Date Thu, 28 Feb 2008 17:37:51 GMT

     [ https://issues.apache.org/jira/browse/IVY-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xavier Hanin updated IVY-743:
-----------------------------

    Fix Version/s: 2.0

> Ivy reports a conflict when the same file is supposed to be retrieved at the same location
twice (or more)
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: IVY-743
>                 URL: https://issues.apache.org/jira/browse/IVY-743
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-beta-1
>         Environment: Mac OSX
>            Reporter: Neil Lott
>             Fix For: 2.0
>
>
> On Thu, Feb 14, 2008 at 11:35 AM, Neil Lott <neilmatthewlott@yahoo.com>
> wrote:
> I have three configurations:
> interface, server, test
> server extends interface
> test extends server
> Here's my ivy.xml dependencies:
> <dependencies>
>        <dependency org="log4j" name="log4j" rev="1.2.8"
> conf="interface->default"/>
>        <dependency org="jacorb" name="jacorb" rev="2.2.2"
> conf="server->default"/>
>        <dependency org="jacorb" name="avalon-framework" rev="4.1.5"
> conf="server->default"/>
>        <dependency org="jacorb" name="logkit" rev="1.2" conf="server-
> default"/>
>           <dependency org="jacorb" name="antlr" rev="2.7.2" conf="server-
> default"/>
>        <dependency org="concurrent" name="concurrent" rev="1.3.2"
> conf="server->default"/>
>        <dependency org="joda-time" name="joda-time" rev="1.5"
> conf="server->default"/>
>               <dependency org="jaxb" name="jaxb-xjc" rev="2.1.3_2007_4_13
> "
> conf="server->default"/>
>               <dependency org="jaxb" name="jaxb-impl" rev="
> 2.1.3_2007_4_13"
> conf="server->default"/>
>               <dependency org="jaxb" name="jaxb-activation" rev="
> 2.1.3_2007_4_13"
> conf="server->default"/>
>               <dependency org="jaxb" name="jaxb-jsr173" rev="
> 2.1.3_2007_4_13"
> conf="server->default"/>
>               <dependency org="jaxb" name="jaxb-api" rev="2.1.3_2007_4_13
> "
> conf="server->default"/>
>        <dependency org="twc" name="msa4j" rev="1.0" conf="server-
> default"/>
>        <dependency org="twc" name="isa" rev="1.4.4" conf="server-
> default"/>
>        <dependency org="testng" name="testng" rev="5.7" conf="test-
> default"/>
>    </dependencies>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message