From f7837a6a4ea4b3d3db257ec0ddb5471cf1e84152 Mon Sep 17 00:00:00 2001 From: Graeme Rocher Date: Tue, 8 Mar 2011 10:11:38 +0100 Subject: [PATCH] configure JVM agent in bash script --- src/resources/bash/startGrails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/bash/startGrails b/src/resources/bash/startGrails index 6c52251f3ed..9b6e630bf17 100755 --- a/src/resources/bash/startGrails +++ b/src/resources/bash/startGrails @@ -234,7 +234,7 @@ startGrails() { else GRAILS_OPTS="-server -Xmx512M -XX:MaxPermSize=192m -Dfile.encoding=UTF-8" fi - JAVA_OPTS="$GRAILS_OPTS $JAVA_OPTS" + JAVA_OPTS="$GRAILS_OPTS $JAVA_OPTS -javaagent:$GRAILS_HOME/bin/springloaded-0.7.1.jar -noverify -Dspringloaded=limit=false;plugins=com.springsource.loaded.SystemPropertyConfiguredIsReloadableTypePlugin" # Start the Profiler or the JVM if $useprofiler; then runProfiler