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] Updated: (IVY-672) No error message is logged when a circular dependency is detected
Date Mon, 17 Dec 2007 14:56:43 GMT

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


Mime
View raw message