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

Commandline proccessor seems to modifiy script path

    XMLWordPrintableJSON

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!

      Attachments

        Activity

          People

            paulk Paul King
            marcuso Marcus Olk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: