ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Andersson <kir...@gmail.com>
Subject Dependency descriptor mediated
Date Sun, 27 Mar 2011 19:09:16 GMT
Hi

I'm fresh on Ivy and am just starting up my build of dependencies.
Things were working fine until I ran into beeing dependent of modules
who also had some same dependencies.

I have the following dependencies:
foo depends of bar, baz and qux
qux depends of bar and baz

bar, baz, and qux all build and publish fine.

When i try to build foo I get problems. Someone please help me find
out what's going on. Why is my dependency descriptor mediated from
"dependency: my.org#bar#sit;1.0RC1" to "dependency:
my.org#bar#sit;working@my.build.server"?

>From log:

<-- SNIP -->
[ivy:retrieve] no resolved descriptor found: launching default resolve
Overriding previous definition of property "ivy.version"
[ivy:retrieve] using ivy parser to parse
file:/misc/java/svncheckout/captools/java/build/releases/ivy/AdminTool2/foo/ivy.xml
[ivy:retrieve] :: resolving dependencies :: my.org#foo;working@my.build.server
[ivy:retrieve]  confs: [build, build-test, dist, environment-dependencies]
[ivy:retrieve]  validate = false
[ivy:retrieve]  refresh = false
[ivy:retrieve] resolving dependencies for configuration 'build'
[ivy:retrieve] == resolving dependencies for
my.org#foo;working@my.build.server [build]
[ivy:retrieve] == resolving dependencies
my.org#foo;working@my.build.server->my.org#bar#sit;1.0RC1
[build->dist]

[ivy:retrieve] myChain: Checking cache for: dependency:
my.org#bar#sit;1.0RC1 {build=[dist]}
[ivy:retrieve] don't use cache for my.org#bar#sit;1.0RC1: changing=true
[ivy:retrieve] don't use cache for my.org#bar#sit;1.0RC1: changing=true
[ivy:retrieve]          tried ivyrepo/sit/my.org/bar/1.0RC1/ivy.xml
[ivy:retrieve] :: SSH :: connecting to localhost...
[ivy:retrieve] :: SSH :: connected to localhost!
[ivy:retrieve]  cm-integration: found md file for my.org#bar#sit;1.0RC1
[ivy:retrieve]          =>
SshResource:ivyrepo/sit/my.org/bar/1.0RC1/ivy.xml (2171)] (1.0RC1)
[ivy:retrieve]  default-cache: revision in cache is not up to date:
my.org#bar#sit;1.0RC1
[ivy:retrieve] downloading
SshResource:ivyrepo/sit/my.org/bar/1.0RC1/ivy.xml (2171)] ...
[ivy:retrieve]  cm-integration: downloading
ivyrepo/sit/my.org/bar/1.0RC1/ivy.xml
[ivy:retrieve]  cm-integration: downloading
ivyrepo/sit/my.org/bar/1.0RC1/ivy.xml.sha1
[ivy:retrieve] sha1 OK for
SshResource:ivyrepo/sit/my.org/bar/1.0RC1/ivy.xml (2171)]
[ivy:retrieve]  [SUCCESSFUL ]
my.org#bar#sit;1.0RC1!ivy.xml(ivy.original) (525ms)
[ivy:retrieve] my.org#bar#sit;1.0RC1 is changing, but has not changed:
will trust cached artifacts if any
[ivy:retrieve]  found my.org#bar#sit;1.0RC1 in cm-integration

<-- SNIP -->

[ivy:retrieve] myChain: Checking cache for: dependency:
my.org#qux#sit;1.0RC1 {build=[build]}
[ivy:retrieve] don't use cache for my.org#qux#sit;1.0RC1: changing=true
[ivy:retrieve] don't use cache for my.org#qux#sit;1.0RC1: changing=true
[ivy:retrieve]          tried ivyrepo/sit/my.org/qux/1.0RC1/ivy.xml
[ivy:retrieve]  cm-integration: found md file for my.org#qux#sit;1.0RC1
[ivy:retrieve]          =>
SshResource:ivyrepo/sit/my.org/qux/1.0RC1/ivy.xml (2512)] (1.0RC1)
[ivy:retrieve]  default-cache: revision in cache is not up to date:
my.org#qux#sit;1.0RC1
[ivy:retrieve] downloading
SshResource:ivyrepo/sit/my.org/qux/1.0RC1/ivy.xml (2512)] ...
[ivy:retrieve]  cm-integration: downloading
ivyrepo/sit/my.org/qux/1.0RC1/ivy.xml
[ivy:retrieve]  cm-integration: downloading
ivyrepo/sit/my.org/qux/1.0RC1/ivy.xml.sha1
[ivy:retrieve] sha1 OK for
SshResource:ivyrepo/sit/my.org/qux/1.0RC1/ivy.xml (2512)]
[ivy:retrieve]  [SUCCESSFUL ]
my.org#qux#sit;1.0RC1!ivy.xml(ivy.original) (309ms)
[ivy:retrieve] my.org#qux#sit;1.0RC1 is changing, but has not changed:
will trust cached artifacts if any
[ivy:retrieve]  found my.org#qux#sit;1.0RC1 in cm-integration

[ivy:retrieve] dependency descriptor has been mediated: dependency:
my.org#bar#sit;1.0RC1 {build=[dist]} => dependency:
my.org#bar#sit;working@my.build.server {build=[dist]}
[ivy:retrieve] dependency descriptor has been mediated: dependency:
my.org#baz#sit;1.0RC1 {build=[build]} => dependency:
my.org#baz#sit;working@my.build.server {build=[build]}
[ivy:retrieve] == resolving dependencies
my.org#qux#sit;1.0RC1->my.org#bar#sit;working@my.build.server
[build->dist]
[ivy:retrieve] dependency descriptor has been mediated: dependency:
my.org#bar#sit;1.0RC1 {build=[dist]} => dependency:
my.org#bar#sit;working@my.build.server {build=[dist]}
[ivy:retrieve] dependency descriptor has been mediated: dependency:
my.org#baz#sit;1.0RC1 {build=[build]} => dependency:
my.org#baz#sit;working@my.build.server {build=[build]}
[ivy:retrieve] myChain: Checking cache for: dependency:
my.org#bar#sit;working@my.build.server {build=[dist]}
[ivy:retrieve] don't use cache for
my.org#bar#sit;working@my.build.server: changing=true
[ivy:retrieve] don't use cache for
my.org#bar#sit;working@my.build.server: changing=true
[ivy:retrieve]          tried
ivyrepo/sit/my.org/bar/working@my.build.server/ivy.xml
[ivy:retrieve]          tried
ivyrepo/sit/my.org/bar/working@my.build.server/bar.jar
[ivy:retrieve]  cm-integration: no ivy file nor artifact found for
my.org#bar#sit;working@my.build.server
[ivy:retrieve] WARN:    module not found: my.org#bar#sit;working@my.build.server
[ivy:retrieve] WARN: ==== cm-integration: tried
[ivy:retrieve] WARN:   ivyrepo/sit/my.org/bar/working@my.build.server/ivy.xml
[ivy:retrieve] WARN:   -- artifact
my.org#bar#sit;working@my.build.server!bar.jar:
[ivy:retrieve] WARN:   ivyrepo/sit/my.org/bar/working@my.build.server/bar.jar
[ivy:retrieve] == resolving dependencies
my.org#qux#sit;1.0RC1->my.org#baz#sit;working@my.build.server
[build->build]
[ivy:retrieve] dependency descriptor has been mediated: dependency:
my.org#bar#sit;1.0RC1 {build=[dist]} => dependency:
my.org#bar#sit;working@my.build.server {build=[dist]}
<--- SNIP -->

>From foo's ivy.xml:
<dependencies>
    <dependency
        org="my.org"
        name="bar"
        branch="sit"
        rev="1.0RC1"
        conf="build->dist"
        changing="true"
        />
    <dependency
        org="my.org"
        name="qux"
        branch="sit"
        rev="1.0RC1"
        conf="build"
        changing="true"
        />
    <dependency
        org="my.org"
        name="baz"
        branch="sit"
        rev="1.0RC1"
        conf="build"
        changing="true"
        />
    <conflict manager="all"/>
</dependencies>

Please let me know if I need to provide more information. I tried to
include parts I thought were interesting..

Best Regards / Erik

Mime
View raw message