Groovy
  1. Groovy
  2. GROOVY-3492

Commandline proccessor seems to modifiy script path

    Details

      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

        Marcus Olk created issue -
        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
        Fix Version/s 1.8-beta-1 [ 16013 ]
        Fix Version/s 1.7.3 [ 16356 ]
        Assignee Paul King [ paulk ]
        Fix Version/s 1.6.9 [ 16236 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Guillaume Delcroix made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12732486 ] Default workflow, editable Closed status [ 12744311 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12970290 ] Default workflow, editable Closed status [ 12978086 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        382d 17h 34m 1 Paul King 16/May/10 00:59
        Resolved Resolved Closed Closed
        31d 3h 50m 1 Guillaume Delcroix 16/Jun/10 04:50

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development