qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject svn commit: r888977 - /qpid/trunk/qpid/java/management/client/bin/qman-jmx.sh
Date Wed, 09 Dec 2009 21:21:49 GMT
Author: rajith
Date: Wed Dec  9 21:21:48 2009
New Revision: 888977

URL: http://svn.apache.org/viewvc?rev=888977&view=rev
Log:
Modified the script to check QMAN_LIB is set and use that instead of always looking for the
libs relative to QMAN_HOME.
This makes it easy to run QMan from an svn checkout.

Modified:
    qpid/trunk/qpid/java/management/client/bin/qman-jmx.sh

Modified: qpid/trunk/qpid/java/management/client/bin/qman-jmx.sh
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/client/bin/qman-jmx.sh?rev=888977&r1=888976&r2=888977&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/client/bin/qman-jmx.sh (original)
+++ qpid/trunk/qpid/java/management/client/bin/qman-jmx.sh Wed Dec  9 21:21:48 2009
@@ -49,7 +49,9 @@
 	QMAN_CONFIG_FILE=$QMAN_HOME/etc/qman-config.xml
 fi
 
-QMAN_LIBS=$QMAN_HOME/lib
+if [ "$QMAN_LIBS" = "" ] ; then
+	QMAN_LIBS=$QMAN_HOME/lib
+fi
 QMAN_CLASSPATH=`find $QMAN_LIBS | tr '\n' ":"`
 QMAN_CLASSPATH=$QMAN_HOME/etc:$QMAN_CLASSPATH
 
@@ -71,4 +73,4 @@
 echo "==============================================================================="
 echo ""
 
-"$JAVA" $JAVA_OPTS -cp $QMAN_CLASSPATH -Dcom.sun.management.jmxremote -Dqman-config=$QMAN_CONFIG_FILE
org.apache.qpid.management.domain.services.QMan
\ No newline at end of file
+"$JAVA" $JAVA_OPTS -cp $QMAN_CLASSPATH -Dcom.sun.management.jmxremote -Dqman-config=$QMAN_CONFIG_FILE
org.apache.qpid.management.domain.services.QMan



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message