Hi,
i tried to use the branch attribute inside my projekt DEV like this:
<ivy-module version="1.1">
<info ... module="DEV" ....
<dependency org="testng" name="testng"
branch="mybranch1" rev="latest.integration"
conf="compile,tests->default"/>
.....
If I now try to resolve my dependencies, it failed
because ivy 2.1.0 try to resolve the latest version (5.6) of
testng/testng
which has NO branch-keyword inside it's ivy.xml. The ivy.xml
of version testng/testng/4.6 contains the following:
<ivy-module version="1.1">
<info
organisation="testng" module="testng"
branch="mybranch1" revision="4.6.1.2"
status="release"
publication="20060227000000">
.....
It looks like the resolver skip this 4.6.1.2 version (which is the only
one containing the
branch attribute "mybranch1") and try to download the 5.6 (containing NO
branch attribute !).
I go the following error message:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 ::
http://ant.apache.org/ivy/ ::
...
---------------------------------------------------------------------
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: testng#testng#mybranch1;latest.integration:
several problems occured while resolving dependency:
testng#testng#mybranch1;latest.integration {compile=[default],
tests=[default]}:
[ivy:resolve] java.text.ParseException: inconsistent module descriptor
file found in 'I:\testng\testng\5.6\ivy.xml': bad branch name:
expected='mybranch1' found='null';
[ivy:resolve] java.text.ParseException: inconsistent module descriptor
file found in 'http://ivyrepos.dtnet.de/testng/testng/5.6/ivy.xml': bad
branch name: expected='mybranch1' found='null';
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve] shared-filesystem: bad branch name found in
I:\testng\testng\5.6\ivy.xml: expected='mybranch1 found='null'
[ivy:resolve] shared-web: bad branch name found in
http://ivyrepos.dtnet.de/testng/testng/5.6/ivy.xml: expected='mybranch1
found='null'
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Could somebody help me to track down the problem ?
regards
Danny