geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Added profile support to geronimo/start-server (aka easy debug flags)
Date Wed, 23 Apr 2008 19:35:48 GMT
Nothing fancy here... but you can now:

geronimo/start-server --profile debug
which will flip on the standard debug flags. This is done via the etc/ 
rc.d script with:

// 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'
}
Maybe later we can work on making it easier for folks to change the  
values w/o changing the file... but for now this will do.

--jason

Mime
View raw message