IvyDE
  1. IvyDE
  2. IVYDE-168

Branch in repository pattern and defaultBranch

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.beta1
    • Fix Version/s: 2.0.0.final
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Nicolas Lalevée
              Reporter:
              Juha Ranta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development