Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 24482 invoked from network); 23 Apr 2008 19:32:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 19:32:28 -0000 Received: (qmail 77499 invoked by uid 500); 23 Apr 2008 19:32:29 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 77459 invoked by uid 500); 23 Apr 2008 19:32:29 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 77448 invoked by uid 99); 23 Apr 2008 19:32:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 12:32:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 19:31:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A9F771A9832; Wed, 23 Apr 2008 12:32:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080423193204.A9F771A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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