Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9312

Recent grape changes break certain usage on Windows

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-rc-2
    • Grape
    • None
    • Windows 10

    Description

      The following code works in 3.0.0-rc-1 but fails in master and the 3_0_X branch:

      @Grab('net.jqwik:jqwik:1.1.4')
      import groovy.transform.CompileStatic
      import net.jqwik.api.ForAll
      import net.jqwik.api.Property
      import net.jqwik.api.constraints.IntRange;
      
      @CompileStatic
      class Jsr308 {
          @Property
          boolean 'size zero or positive'(
                  @ForAll List<Integer> items
          ) {
              items.size() >= 0
          }
      }
      

      The error is:

      java.lang.IllegalArgumentException: org.opentest4j#opentest4j;1.1.1!opentest4j.jar origin location must be absolute: file:C:/Users/Paul King/.m2/repository/org/opentest4j/opentest4j/1.1.1/opentest4j-1.1.1.jar
      

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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