Author: robbie
Date: Fri Sep 30 13:38:04 2011
New Revision: 1177656

URL: http://svn.apache.org/viewvc?rev=1177656&view=rev
Log:
QPID-3504: make the broker start script check for additional jar files in 
lib/opt/ to add to its classpath using the JDK 6 classpath expansion 
convenience, enabling an easier way of adding the optional BDB JE jar 
dependency than via the existing -run:<option> classpath manipulations

Modified:
    qpid/trunk/qpid/java/broker/bin/qpid-server

Modified: qpid/trunk/qpid/java/broker/bin/qpid-server
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/bin/qpid-server?rev=1177656&r1=1177655&r2=1177656&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/bin/qpid-server (original)
+++ qpid/trunk/qpid/java/broker/bin/qpid-server Fri Sep 30 13:38:04 2011
@@ -33,8 +33,8 @@ if [ -z "$QPID_PNAME" ]; then
     export QPID_PNAME=" -DPNAME=QPBRKR"
 fi
 
-# Set classpath to include Qpid jar with all required jars in manifest
-QPID_LIBS=$QPID_HOME/lib/qpid-all.jar
+# Set classpath to include the qpid-all manifest jar, and any jars supplied in 
lib/opt
+QPID_LIBS="$QPID_HOME/lib/qpid-all.jar:$QPID_HOME/lib/opt/*"
 
 # Set other variables used by the qpid-run script before calling
 export JAVA=java \



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

Reply via email to