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

Enable consistent support of the configuration negation operator.

    XMLWordPrintableJSON

Details

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

    Description

      To my mind there are two general areas that make wide use of comma-delimited configuration name lists. The first area is in Ivy file dependency mappings and along with simple configuration names, one can also make use of operators like * for wildcarding and ! for negation. The second area where these lists are used extensively is in the "conf" attribute of the Ant resolve task and the various post-resolve tasks. Much like before one can also use the * character for wildcarding here, but much to my frustration the "conf" attribute of these Ant tasks doesn't seem to recognize the ! character as the negation operator. The attached patch (which includes test case) remedies this tragic situation.

      Attachments

        1. excludeconfsyntax.patch
          2 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:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25h
                  0.25h
                  Remaining:
                  Remaining Estimate - 0.25h
                  0.25h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified