geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r651024 - /geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/underlay/etc/rc.d/start-server, default.groovy
Date Wed, 23 Apr 2008 19:32:02 GMT
Author: jdillon
Date: Wed Apr 23 12:32:01 2008
New Revision: 651024

URL: http://svn.apache.org/viewvc?rev=651024&view=rev
Log:
(GERONIMO-3651) Add 'debug' profile to flip on the standard debug flags

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=651024&r1=651023&r2=651024&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
Wed Apr 23 12:32:01 2008
@@ -26,9 +26,11 @@
     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'
+// If the debug profile was selected, then append some debugging flags
+if (command.profiles.contains('debug')) {
+    command.javaFlags << '-Xdebug'
+    command.javaFlags << '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000'
+}
 
 // Uncomment this property so that Tribes work on Mac OS X
 // command.properties['java.net.preferIPv4Stack'] = true



Mime
View raw message