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

Groovy example source code file (java2groovy.bat)

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

aug, c, date, debug, dirname, dirname, errorlevel, mon, nt, nt, os, os, windows_nt, windows_nt

The Groovy java2groovy.bat source code

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

@rem $Revision: 2770 $ $Date: 2005-08-29 11:49:42 +0100 (Mon, 29 Aug 2005) $

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

@rem Determine what directory it is in.
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.\

"%DIRNAME%\startGroovy.bat" "%DIRNAME%" org.codehaus.groovy.antlr.java.Java2GroovyMain %*

@rem End local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" endlocal

Other Groovy examples (source code examples)

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

new blog posts


Copyright 1998-2016 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.