blob: d6bb50ae3647eadca5b1eb7270181c0ca80efd6e [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=.\
rem
rem HACK: Temporary support to run the current or new shells
rem
set CLASSNAME=org.codehaus.groovy.tools.shell.Groovysh
if "%NEWSHELL%" == "" set CLASSNAME=groovy.ui.InteractiveShell
"%DIRNAME%\startGroovy.bat" "%DIRNAME%" %CLASSNAME% %*
@rem End local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" endlocal