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

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

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 error message is logged during the build:

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


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

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin updated IVY-672:
-----------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 2.0)

> 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
>            Priority: Minor
>
> 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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552449 ] 

Maarten Coene commented on IVY-672:
-----------------------------------

Yes, that would be better.
I also think it would be better if you replace the "..." in the graph by the actual node. 

Btw, are you sure the "..." points to the first node? My graph is like this:

{code}
LCMT#commons;2.8.4->LCMB#sparadmwebservice;1.0.3->LCMT#parametermanager;3.2.1->LCMB#sparadmwebservice;1.0.3
{code}

Maarten

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


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

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin updated IVY-672:
-----------------------------

    Fix Version/s: 2.0

> 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
>             Fix For: 2.0
>
>
> 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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552455 ] 

Maarten Coene commented on IVY-672:
-----------------------------------

ok, since this is not related to this issue, I've created a new one: IVY-673

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


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-672:
------------------------------

    Description: 
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}

  was:
When I have a circular dependency, the resolve fails, but no error message is logged during the build:

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


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


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

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
    [ 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;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.