Branch in repository pattern and defaultBranch
----------------------------------------------

                 Key: IVYDE-168
                 URL: https://issues.apache.org/jira/browse/IVYDE-168
             Project: IvyDE
          Issue Type: Bug
    Affects Versions: 2.0.0.beta1
            Reporter: Juha Ranta


Let's suppose that you have branch in the repository pattern, as in 
"[organisation]/[module]/[branch]/[revision]/[type]s/[artifact].[ext]", and you 
have also set defaultBranch in ivysettings like this:

<settings defaultBranch="trunk"/>

If you have a dependency without a branch tag and a static revision, then IvyDE 
seems to insert an empty string as branch in the repository pattern while doing 
resolve which causes an error. For instance,  if you have a dependency such as 
this:

<dependency org="myorg" name="mymod" rev="10.2"/>

Then IvyDE tries to find it in "myorg/mymod//10.2". I think it should try to 
find it in "myorg/mymod/trunk/10.2" instead, which is the way the normal Ivy 
resolve from an Ant script works. 





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

Reply via email to