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

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

You're right, it's not always the first node in the list, but the first node in 
the circular dependency. So the message is not detailed enough, we should step 
back to use the full node name instead of ... (this was introduced with IVY-514 
patch). I first thought it was a good idea to avoid cluttering the output, but 
now I realize we lost information, so I agree to use the full node name again.

> 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;[EMAIL PROTECTED]
> [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.

Reply via email to