Ivy
  1. Ivy
  2. IVY-1037

Buildnumber task does not work for chained resolvers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. IVY1037.patch
        7 kB
        Martin Eigenbrodt

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development