You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Daniel Schwager (JIRA)" <ji...@apache.org> on 2009/11/19 09:57:41 UTC

[jira] Created: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

dependencies failed using branch attribute (and extra attrubutes)
-----------------------------------------------------------------

                 Key: IVY-1141
                 URL: https://issues.apache.org/jira/browse/IVY-1141
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0
         Environment: windows 
            Reporter: Daniel Schwager


*** Investigation
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

*** Make it reproducable

I create a VERY small sample project (build.xml & ivy.xml)
using a sample ivyrepos on our server.

Could somebody look closer to the problem by downloading the project from
    http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip

To run, yust unzip and start "ant -f build.xml" and you can see the failure:

[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
anch1 found=''
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

*** Same problem using extra attributes instead auf branch attribute
if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:

<ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
 ...
		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
					conf="compile,tests->default"/>

But this tells me a similar result - also a failure.

regards
Danny

P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

Posted by "Ben Turner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787558#action_12787558 ] 

Ben Turner commented on IVY-1141:
---------------------------------

Hmmm.. just stumbled into this same problem. Will try the workaround for now

> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

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

Maarten Coene commented on IVY-1141:
------------------------------------

I think the problem is that when using "latest.integration" the Ivy files in the repository won't get parsed, so only the information present in the pattern will be available.
You might workaround the problem (but I'm not sure it will work) by adding the [branch] token to your repository patterns.

Maarten

> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

Posted by "Tyler Wall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901203#action_12901203 ] 

Tyler Wall commented on IVY-1141:
---------------------------------

This may be of use to some of you...

My plan was to use "branch" to denote a specific release "stream".  

I use a qualifier to determine whether the publish came from a trunk or branch within that stream. 

i.e. 

1.0-alpha maps to a trunk publish triggered by Hudson on commit. 
1.1-dev maps to a branch publish by a developer working toward 1.1-alpha
1.1.2-rc maps to a release trunk created from a 1.1 developer trunk with 2 fixes merged in from release branches.

Developer Stream

src/dev/ABC/trunk
src/dev/ABC/branches
src/dev/ABC/tags
src/dev/DEF/trunk
src/dev/DEF/branches
src/dev/DEF/tags
...

Release Stream 1

src/release/1/ABC-1.1-rc/trunk
src/release/1/ABC-1.1-rc/branches
src/release/1/ABC-1.1-rc/tags
src/release/1/DEF-2.0-rc//trunk
src/release/1/DEF-2.0-rc/branches
src/release/1/DEF-2.0-rc/tags

The work around was to create a separate Ivy repository for each release.  If a project was checked out from a release stream, the ivy settings would be overridden to point at another repository for the specific release.  This had the same effect as limiting the dynamic revisions to a branch so as developers worked in a release stream they were not effected by new versions not part of the stable release.

All projects committed to a trunk needed to set their dependency revisions to latest.alpha.  This would pull in trunk level dependencies or higher.  Branches could use latest.dev if they wanted to subscribe to other branches.  At scheduled points in time a release stream is made from the head of all trunks and built to populate the release baseline ivy repository.  

Tyler

> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

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

Maarten Coene commented on IVY-1141:
------------------------------------

It is a bug to me. But after taking a quick look at the code it seems to me that it will not easy to fix though...
Regarding the workaround, using the pattern like the one you provided might solve your problem, but I'm not 100% sure of it.

Maarten

> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

Posted by "Daniel Schwager (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780236#action_12780236 ] 

Daniel Schwager commented on IVY-1141:
--------------------------------------

i can also reproduce this behavior with ivy-snapshot version from 17.11.2009.


> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

Posted by "Brian Matzon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877766#action_12877766 ] 

Brian Matzon commented on IVY-1141:
-----------------------------------

Similar problem, and workaround didn't work.

Usually our projects have been relying on 'trunk' as default and then each project would sit the branch as needed when publishing. This would be stored in this layout: [organisation]/[module]/[branch]/[artifact]-[revision].[ext]

During a branch process, I instead changed the 'ivy.default.branch' to our branch name and then changed the 'trunk' dependencies to trunk.
Dependencies on trunk then failed with the 'bad branch name: expected='trunk' found='xxx-1.0-dev''

I then created a new artifact which had branch="trunk" and then everything works as expected.

So, a fix to this could be to re-publish all modules, making sure that they contain the branch attribute. Not sure how you would do that on maven tho ;)

It looks to me as if ivy is using 'ivy.default.branch' if it doesn't locate the branch name in the ivy file, despite the fact that it locates the ivy file based on the branch='trunk' I specify in my dependency.

I dont know if turning of checkConsistency will work - nor do I think its a good idea to do so.

> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

Posted by "Daniel Schwager (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780259#action_12780259 ] 

Daniel Schwager commented on IVY-1141:
--------------------------------------

Is the described behavior using "latest.integration" a "bug" or "by desgin" ? So, is there a change somebody will fix this ? 

Relating to the workaround: You mean, i have to restructure the physical layout of my repository to match a pattern like ${repository.dir}/[organisation]/[module]/[branch]/[revision]/[artifact].[ext] ?

Danny

> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1141) dependencies failed using branch attribute (and extra attrubutes)

Posted by "Daniel Schwager (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782330#action_12782330 ] 

Daniel Schwager commented on IVY-1141:
--------------------------------------

I think also, this is a bug. I followed your approach and changed the phy. layout of the
repository to take care of the [branch] and it looks like it works ..

Danny


> dependencies failed using branch attribute (and extra attrubutes)
> -----------------------------------------------------------------
>
>                 Key: IVY-1141
>                 URL: https://issues.apache.org/jira/browse/IVY-1141
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: windows 
>            Reporter: Daniel Schwager
>
> *** Investigation
> 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
> *** Make it reproducable
> I create a VERY small sample project (build.xml & ivy.xml)
> using a sample ivyrepos on our server.
> Could somebody look closer to the problem by downloading the project from
>     http://www.opensource-online.org/fileadmin/swd/ivy/ivy-test.zip
> To run, yust unzip and start "ant -f build.xml" and you can see the failure:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: testng#testng#mybranch1;latest.integration: java.text.ParseException: inconsistent module descriptor file found in 'http:/
> www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml': bad branch name: expected='mybranch1' found='';
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :::: ERRORS
> [ivy:resolve]           default: bad branch name found in http://www.opensource-online.org/fileadmin/swd/ivy/testng/testng/5.6/ivy.xml: expected='myb
> anch1 found=''
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> *** Same problem using extra attributes instead auf branch attribute
> if tried a workaround not using the branch-keyword but defining a own extra atrribute like this:
> <ivy-module version="2.0" xmlns:swd="http://softwaredemo.de/ivy/extra">
>  ...
> 		<dependency org="testng" name="testng"  swd:suite="mybranch-e2" rev="latest.integration"  
> 					conf="compile,tests->default"/>
> But this tells me a similar result - also a failure.
> regards
> Danny
> P.S.: refer also to http://old.nabble.com/dependencies-failed-using-branch-attribute-td26411302.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.