|
Groovy example source code file (grape)
The Groovy grape source code
#!/bin/sh
##############################################################################
## ##
## Groovy JVM Bootstrap for UN*X ##
## ##
## use -cp or -classpath just as in java to use a custom classpath ##
## ##
##############################################################################
##
## $Revision: 18152 $
## $Date: 2009-10-29 10:39:32 +0100 (Do, 29. Okt 2009) $
##
GROOVY_APP_NAME=Grape
# resolve links - $0 may be a soft-link
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
DIRNAME=`dirname "$PRG"`
. "$DIRNAME/startGroovy"
startGroovy org.codehaus.groovy.tools.GrapeMain "$@"
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy grape source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.