Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.2
-
Fix Version/s: 1.7.3, 1.6.9, 1.8-beta-1
-
Component/s: command line processing
-
Labels:None
-
Environment:Windows XP, cmd.exe
-
Number of attachments :
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!