Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.7.9
-
Fix Version/s: None
-
Component/s: Groovysh
-
Labels:None
-
Environment:Windows 7, Take Command 9.02 (JPSoft, ex-4NT)
-
Number of attachments :
Description
startGroovy.bat produces an error to stdout under JPSoft Take Command 9.02 (TCC).
"%~f1" barfs under TCC when no parameter is given (i.e. calling groovysh.bat w/o parameter). Possible solution (startGroovy.bat 1.7.9 around line 97):
set GROOVY_SCRIPT_NAME=
if not "x%1" == "x" set GROOVY_SCRIPT_NAME=%~f1
Also, the 4NT "eval" function appears to take an @ character to work (same file, around line 100):
if "%@eval[2+2]" == "4" goto 4NT_args
I do not have 4NT running any longer (this has been superseded by TCC as far as I know), so I can't tell for sure if above amendment breaks the batch file under 4NT. I do think both changes should valid for 4NT, too.
Does the problem occur with still occur with current versions of Groovy?