summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2011-09-30 13:38:04 +0000
committerRobert Gemmell <robbie@apache.org>2011-09-30 13:38:04 +0000
commitb189fb37ef3bcd37adb5fa1502bac0c3c3505da4 (patch)
tree59c1c0c4d87373e1db88891ba5caab4dafae517b /java
parent43c0ea9593afc1b998527944ecdf33d00a377a11 (diff)
downloadqpid-python-b189fb37ef3bcd37adb5fa1502bac0c3c3505da4.tar.gz
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
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177656 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rwxr-xr-xjava/broker/bin/qpid-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/broker/bin/qpid-server b/java/broker/bin/qpid-server
index 90b11da202..8814824e66 100755
--- a/java/broker/bin/qpid-server
+++ b/java/broker/bin/qpid-server
@@ -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 \