blob: 62333b132c4b720daf9c128183b93a84711649fe [file] [log] [blame]
@if "%DEBUG%" == "" @echo off
@rem
@rem $Revision$ $Date$
@rem
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
:begin
@rem Determine what directory it is in.
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.\
set CLASSNAME=groovy.ui.InteractiveShell
if "%OLDSHELL%" == "" set CLASSNAME=org.codehaus.groovy.tools.shell.Main
"%DIRNAME%\startGroovy.bat" "%DIRNAME%" %CLASSNAME% %*
@rem End local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" endlocal
%COMSPEC% /C exit /B %ERRORLEVEL%