Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-168

Branch in repository pattern and defaultBranch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0.beta1
    • 2.0.0.final
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              hibou Nicolas Lalevée
              myrkkyapina Juha Ranta
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: