You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2007/12/17 16:19:43 UTC

[jira] Commented: (IVY-672) No error message is logged when a circular dependency is detected

    [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552438 ] 

Xavier Hanin commented on IVY-672:
----------------------------------

It's not a partial graph, it's the circular dependency, where the first module in the loop is put as ... at the end of the loop. But I agree the error message is not clear, besides the CircularDependencyException, there is no indication that this is a circular dependency error. Would adding "Circular Dependency: " before the circular dependency "graph" in the ERRORS summary be ok?

> No error message is logged when a circular dependency is detected
> -----------------------------------------------------------------
>
>                 Key: IVY-672
>                 URL: https://issues.apache.org/jira/browse/IVY-672
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-1
>            Reporter: Maarten Coene
>
> When I have a circular dependency, the resolve fails, but no nice error message is logged during the build, only a partial graph is logged:
> {code}
> Buildfile: build.xml
> init:
> prepare:
> detect-classpath-init:
> init-classpaths-with-ivy:
>  [ivy:info] :: Ivy 2.0.0-beta1 - 20071206070608 :: http://ant.apache.org/ivy/ ::
> :: loading settings :: file = C:\working\repository\commons\lcm\ant_build\config
> \ivy\ivysettings.xml
> DEPRECATED: 'conf' is deprecated, use 'settings' instead (file:/C:/working/repos
> itory/commons/lcm/ant_build/config/ivy/ivysettings.xml)
> [ivy:resolve] :: resolving dependencies :: LCMB#fao;working@N51F2D5
> [ivy:resolve]   confs: [default, client, impl, testapi, compile, client-compile,
>  test, runtest]
> [ivy:resolve]   [2.8.4] LCMT#commons;2.+
> [ivy:resolve]   [1.3.1] LCMT#daohelper;1.+
> [ivy:resolve]   [3.2.1] LCMT#parametermanager;3.+
> [ivy:resolve]   [1.0.3] LCMB#sparadmwebservice;1.+
> [ivy:resolve]   [1.2.0] LCMT#commons-webservice;1.+
> [ivy:resolve]   [2.0.10] LCMT#openutm;2.+
> [ivy:resolve]   [1.1.0] LCMT#profilemanager;1.+
> [ivy:resolve]   [4.4.0] LCMT#logmanager;4.+
> [ivy:resolve]   [3.4.0] LCMT#openutm;3.+
> [ivy:resolve]   [4.3.1] LCMT#papyrus;4.+
> [ivy:resolve]   [10.1.3.3] J2EE#ejb30;10.1.3.+
> [ivy:resolve]   [10.1.3.3] J2EE#persistence;10.1.3.+
> [ivy:resolve]   [10.1.3.3] J2EE#mail;10.1.3.+
> [ivy:resolve]   [2.1.0] OTHER#commons-lang;2.+
> [ivy:resolve]   [2.0.0] LCMT#commons-test;2.+
> [ivy:resolve]   [10.1.3.3] J2EE#toplink-essentials;10.1.3.+
> [ivy:resolve]   [10.1.3.3] J2EE#ejb;10.1.3.+
> [ivy:resolve]   [10.1.3.3] J2EE#jta;10.1.3.+
> [ivy:resolve]   [10.1.3.3] J2EE#jaxrpc-api;10.1.3.+
> [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}

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