geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r650100 - /geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server, default.groovy
Date Mon, 21 Apr 2008 11:14:28 GMT
Author: jdillon
Date: Mon Apr 21 04:14:15 2008
New Revision: 650100

URL: http://svn.apache.org/viewvc?rev=650100&view=rev
Log:
Make a wee bit more groovy, add a comment too

Modified:
    geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server,default.groovy

Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server,default.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server%2Cdefault.groovy?rev=650100&r1=650099&r2=650100&view=diff
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server,default.groovy
(original)
+++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server,default.groovy
Mon Apr 21 04:14:15 2008
@@ -20,9 +20,12 @@
 //
 // $Rev$ $Date$
 //
-if (command.javaFlags.isEmpty() ) {
-  command.javaFlags << '-Xmx512m'
+
+// Append some reasonable java flags if none were configured already
+if (command.javaFlags.empty) {
+    command.javaFlags << '-Xmx512m'
 }
+
 // Uncomment the following lines to enable remote debugging.
 // command.javaFlags << '-Xdebug'
 // command.javaFlags << '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000'



Mime
View raw message