home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (groovyConsole.bat)

This example Groovy source code file (groovyConsole.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

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

The Groovy groovyConsole.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=.\

"%DIRNAME%\startGroovy.bat" "%DIRNAME%" groovy.ui.Console %*

@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 groovyConsole.bat source code file:

new blog posts

 

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