Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1087

ivy:resolve ignores branch in "dynamic" resolve mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-RC1
    • Fix Version/s: 2.1.0-RC2
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Linux 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux

      Description

      When I call ivy:resolve as following
      <ivy:resolve file="${deps.file}" showProgress="false" conf="compile" resolveMode="dynamic"/>
      and having
      <ivy pattern="${ivy.local.default.root}/[organisation]/[branch]/[module]ivys/ivy[revision].xml"/>
      <artifact pattern="${ivy.local.default.root}/[organisation]/[branch]/[artifact]-[revision].[ext]"/>
      set in my defaultResolver
      ivy:resolver ignores [branch] and looks for ivy.xml in "${ivy.local.default.root}/[organisation]//[module]ivys/ivy[revision].xml"
      and artifact in "${ivy.local.default.root}/[organisation]//[artifact]-[revision].[ext]".

      However if I call <ivy:resolve file="${deps.file}" showProgress="false" conf="compile"/> without resolveMode set, everything is fine and resolve follows [organisation]/[branch] path.

        Attachments

          Activity

            People

            • Assignee:
              maartenc Maarten Coene
              Reporter:
              alekseyig aleksey zhukov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: