groovy
  1. groovy
  2. GROOVY-3492

Commandline proccessor seems to modifiy script path

    Details

    • Number of attachments :
      0

      Description

      Passing a script path containing a minus character to groovy.bat seems to interpret this minus character as a commandline switch.

      Example:

      c:\> groovy c:\test\my-qtest\foo.groovy

      returns

      Caught: java.io.FileNotFoundException: c:\test\mytest\foo.groovy

      So, c:\test\my-qtest\foo.groovy gets turned into c:\test\mytest\foo.groovy.

      I don't know if this is an issue in the .bat - script mess or a code problem.

      What's for sure: this worked in 1.6.1!

        Activity

        Hide
        Marcus Olk added a comment -

        Correction: The last working version was 1.6.0!

        Am I the only one having this issue?!

        Show
        Marcus Olk added a comment - Correction: The last working version was 1.6.0! Am I the only one having this issue?!
        Hide
        Paul King added a comment -

        It only occurred for directory names with '-q' in them. Should be fixed now.

        Show
        Paul King added a comment - It only occurred for directory names with '-q' in them. Should be fixed now.
        Paul King made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Paul King [ paulk ]
        Fix Version/s 1.6.9 [ 16236 ]
        Fix Version/s 1.8-beta-1 [ 16013 ]
        Fix Version/s 1.7.3 [ 16356 ]
        Resolution Fixed [ 1 ]
        Guillaume Laforge made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Paul King
            Reporter:
            Marcus Olk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: