activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r691131 - /activemq/trunk/assembly/src/release/bin/activemq
Date Tue, 02 Sep 2008 07:15:35 GMT
Author: rajdavies
Date: Tue Sep  2 00:15:35 2008
New Revision: 691131

URL: http://svn.apache.org/viewvc?rev=691131&view=rev
Log:
applied patch for https://issues.apache.org/activemq/browse/AMQ-1887

Modified:
    activemq/trunk/assembly/src/release/bin/activemq

Modified: activemq/trunk/assembly/src/release/bin/activemq
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/activemq?rev=691131&r1=691130&r2=691131&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/activemq (original)
+++ activemq/trunk/assembly/src/release/bin/activemq Tue Sep  2 00:15:35 2008
@@ -140,11 +140,15 @@
 # Set default classpath
 ACTIVEMQ_CLASSPATH="${ACTIVEMQ_BASE}/conf;"$ACTIVEMQ_CLASSPATH
 
-# Uncomment to enable YourKit profiling
-#ACTIVEMQ_DEBUG_OPTS="-agentlib:yjpagent"
+# Optionally enable YourKit debugging
+if [ "x$YOURKIT_DEBUG" != "x" ]; then
+    ACTIVEMQ_DEBUG_OPTS="-agentlib:yjpagent"
+fi
 
-# Uncomment to enable remote debugging
-#ACTIVEMQ_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
+# Optionally enable remote debugging
+if [ "x$ACTIVEMQ_DEBUG" != "x" ]; then
+    ACTIVEMQ_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
+fi
 
 if [ -n "$CYGHOME" ]; then
     exec "$JAVACMD" $ACTIVEMQ_DEBUG_OPTS $ACTIVEMQ_OPTS -Dactivemq.classpath="${ACTIVEMQ_CLASSPATH}"
-Dactivemq.home="${ACTIVEMQ_HOME}" -Dactivemq.base="${ACTIVEMQ_BASE}" -Dcygwin.user.home="$CYGHOME"
-jar "${ACTIVEMQ_HOME}/bin/run.jar" start $@



Mime
View raw message