Permalink
Browse files

remove support for old-style-groovysh as its implementation Interacti…

…veShell was deprecated and has already been removed
  • Loading branch information...
1 parent 3c47089 commit f3981185478ae109f697468cd8c6e38f8dac5cdc @roshandawrani roshandawrani committed Sep 23, 2011
Showing with 2 additions and 7 deletions.
  1. +1 −5 src/bin/groovysh
  2. +1 −2 src/bin/groovysh.bat
View
@@ -30,8 +30,4 @@ DIRNAME=`dirname "$PRG"`
. "$DIRNAME/startGroovy"
-if [ "x$OLDSHELL" != "x" ]; then
- startGroovy groovy.ui.InteractiveShell "$@"
-else
- startGroovy org.codehaus.groovy.tools.shell.Main "$@"
-fi
+startGroovy org.codehaus.groovy.tools.shell.Main "$@"
View
@@ -12,8 +12,7 @@ if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.\
-set CLASSNAME=groovy.ui.InteractiveShell
-if "%OLDSHELL%" == "" set CLASSNAME=org.codehaus.groovy.tools.shell.Main
+set CLASSNAME=org.codehaus.groovy.tools.shell.Main
"%DIRNAME%\startGroovy.bat" "%DIRNAME%" %CLASSNAME% %*

0 comments on commit f398118

Please sign in to comment.