alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Groovy example source code file (groovysh.bat)

This example Groovy source code file (groovysh.bat) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

c, classname, date, debug, dirname, dirname, errorlevel, mo, nt, nt, os, os, windows_nt, windows_nt

The Groovy groovysh.bat source code

@if "%DEBUG%" == "" @echo off

@rem 
@rem $Revision: 19761 $ $Date: 2010-04-05 14:29:23 +0200 (Mo, 05. Apr 2010) $
@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%

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy groovysh.bat source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.