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

Buildnumber task does not work for chained resolvers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-RC1
    • Component/s: Ant, Core
    • Labels:
      None

      Description

      If the resolver attribute of the buildnumber task point to a chained resolver the buildnumber task will not find any existing revision.
      I will attach a unittest to show the problem.
      I've debuged into this point:
      The Buildnubmer task uses SearchEngine.listModules whcih in turn uses
      Resolver.listTokenValues. The Doc says ListTokenValue must not return values for child resolvers.
      So litTokenValues can not return values for child resolvers either. I don't know how to fix.

        Attachments

        1. IVY1037.patch
          7 kB
          Martin Eigenbrodt

          Activity

            People

            • Assignee:
              maartenc Maarten Coene
              Reporter:
              martineigenbrodt Martin Eigenbrodt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: