ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-675) Wrong graph of nodes is logged when circular dependency is detected
Date Mon, 17 Dec 2007 16:34:43 GMT
Wrong graph of nodes is logged when circular dependency is detected
-------------------------------------------------------------------

                 Key: IVY-675
                 URL: https://issues.apache.org/jira/browse/IVY-675
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-beta-1
            Reporter: Maarten Coene


I have a circular dependency. The nodes causing the loop are logged. However, the information
logged is incorrect.

For instance:

{code}
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: ERRORS
[ivy:resolve]   LCMT#commons;2.8.4->LCMB#sparadmwebservice;1.0.3->LCMT#parameter
manager;3.2.1->...
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C:\working\repository\commons\lcm\ant_build\targets\common-targets-1.0.0.xml:390
: impossible to resolve dependencies:
        org.apache.ivy.plugins.circular.CircularDependencyException: LCMT#common
s;2.8.4->LCMB#sparadmwebservice;1.0.3->LCMT#parametermanager;3.2.1->...
{code}

Howver, my commons-2.8.4 module doesn't has a dependency on sparadmwebservice:

{code}
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="1.0">
    <info organisation="LCMT" module="commons" revision="2.8.4" status="release" publication="20070313105450"/>
    <configurations>
        <conf name="default" description="For default usage."/>
		<conf name="j2ee" extends="default" description="For usage inside an application server."/>
		<conf name="standalone" extends="default" description="For usage in a standalone application
(e.g. batch)."/>
		<conf name="compile" extends="*(public)" visibility="private" transitive="false"/>
		<conf name="test" visibility="private" transitive="false"/>
		<conf name="runtest" extends="test,compile" visibility="private"/>
        <conf name="minimal" extends="default" description="For minimal usage, e.g. in
the client API of a system."/>
    </configurations>
    <dependencies defaultconfmapping="runtest->standalone(default);default,compile,test->default;standalone->[org=LCMB]client(default),[org!=LCMB]standalone(default);%->#(default);"
confmappingoverride="true">
        <!-- J2EE dependencies -->
        <dependency org="J2EE" name="ejb" rev="" conf="compile"/>
        <dependency org="J2EE" name="jms" rev="" conf="standalone"/>
        <dependency org="J2EE" name="jta" rev="" conf="test"/>

        <!-- technical dependencies -->
        <dependency org="LCMT" name="daohelper" rev="1.+" conf="j2ee;standalone"/>
        <dependency org="LCMT" name="openutm" rev="2.+" conf="compile"/>
        <dependency org="LCMT" name="parametermanager" rev="3.+" conf="j2ee"/>
        <dependency org="OTHER" name="commons-beanutils" rev="1.7.0" conf="compile"/>
        <dependency org="OTHER" name="commons-discovery" rev="0.2" conf="j2ee;standalone"/>
        <dependency org="OTHER" name="commons-logging" rev="1.0.3" conf="default"/>
        <dependency org="OTHER" name="commons-lang" rev="2.0.0" conf="default"/>
        <dependency org="OTHER" name="commons-validator" rev="1.1.4" conf="j2ee;standalone"/>
        <dependency org="OTHER" name="jakarta-regexp" rev="1.4" conf="default"/>

        <!-- Test dependencies -->
        <dependency org="LCMT" name="commons-test" rev="1.+" conf="test">
            <exclude module="commons"/>
        </dependency>
        <dependency org="OTHER" name="junit" rev="3.8.1" conf="test"/>
        <dependency org="OTHER" name="mockejb" rev="0.5" conf="test"/>
        <dependency org="OTHER" name="mockobjects" rev="0.09" conf="test"/>
        <dependency org="OTHER" name="dbunit" rev="2.1.0" conf="test"/>
        <dependency org="OTHER" name="ojdbc" rev="9.2.0.5" conf="test"/>
    </dependencies>
</ivy-module>
{code}

-- 
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