2d453384452f29ab46f29c0163a830492f936512Till Mossakowskiif [ -z "$GRAILS_HOME" ]; then
6034a40f7444be44812edc9819de3b184220e4cbChristian Maeder echo "Please set GRAILS_HOME environment variable to location, where Grails is installed." 1>&2
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder echo "(Default location is /usr/grails/[version], e.g. /usr/grails/1.0.3)" 1>&2
c673000621dd506e5fc7babf8ca6303b7fcefc14Christian Maederif [ ! -f "$GRAILS_HOME/bin/startGrails" ]; then
2d453384452f29ab46f29c0163a830492f936512Till Mossakowski echo "GRAILS_HOME is not set properly: $GRAILS_HOME" 1>&2
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder echo "It must contain path to the directory where Grails is installed!" 1>&2
b6a54d7292d7a3713000847334de4316d105f40fChristian MaederJAVA_OPTS="-Xdebug -Xnoagent -Dgrails.full.stacktrace=true -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"