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

Correctly set ivy.resolved.configurations property when the conf string includes a negation operator.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-RC1
    • 2.0-RC2
    • Ant
    • None

    Description

      Really this is a continuation of the work begun in IVY-894. The previous work allowed the resolve task to handle a configuration list with negation operators, by transforming the list during the wildcard fixup. Unfortunately however, in this type of scenario the ivy.resolved.configurations property is still set to the original string with negation operators intact. This situation breaks postresolve tasks (e.g. retrieve) that simply reuse the value of the ivy.resolved.configurations property when it's not explicitly passed to the subsequent postresolve task. The new patch attached to this bug report fixes the issue by appropriately setting the ivy.resolved.configurations with the post-fixup list of configurations. The patch includes an update to the testcase as well.

      Attachments

        1. IVY-951.patch
          4 kB
          Patrick Woodworth

        Issue Links

          Activity

            People

              maartenc Maarten Coene
              sixseve Patrick Woodworth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: