From efe7c8fb6ddd5cd7fa5881ca960a8ec92098887b Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Wed, 21 Nov 2012 23:27:07 +0000 Subject: QPID-4456: ensure the broker plugins get packaged in the release binary and added to the classpath. Create opt directory for later use by users and update docs accordingly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412359 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java-broker/Java-Broker-Stores-BDB-Store.xml | 4 +--- qpid/java/bdbstore/jmx/build.xml | 2 ++ qpid/java/broker-plugins/access-control/build.xml | 2 ++ qpid/java/broker-plugins/management-http/build.xml | 2 ++ qpid/java/broker-plugins/management-jmx/build.xml | 2 ++ qpid/java/broker/bin/qpid-server | 4 ++-- qpid/java/broker/build.xml | 10 ++++++++-- qpid/java/common.xml | 2 +- qpid/java/module.xml | 20 +++++++------------- 9 files changed, 27 insertions(+), 21 deletions(-) diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Stores-BDB-Store.xml b/qpid/doc/book/src/java-broker/Java-Broker-Stores-BDB-Store.xml index 9ce90f6529..c16d9aa227 100644 --- a/qpid/doc/book/src/java-broker/Java-Broker-Stores-BDB-Store.xml +++ b/qpid/doc/book/src/java-broker/Java-Broker-Stores-BDB-Store.xml @@ -52,16 +52,14 @@ Oracle BDB JE jar installation If you wish to use the BDBMessageStore, copy the je-&oracleBdbProductVersion;.jar from within the release - downloaded above into an 'opt' sub-directory + downloaded above into the 'opt' sub-directory of the brokers 'lib' directory. Unix: -mkdir qpid-broker-&qpidCurrentRelease;/lib/opt cp je-&oracleBdbProductVersion;.jar qpid-broker-&qpidCurrentRelease;/lib/opt Windows: -mkdir qpid-broker-&qpidCurrentRelease;\lib\opt copy je-&oracleBdbProductVersion;.jar qpid-broker-&qpidCurrentRelease;\lib\opt diff --git a/qpid/java/bdbstore/jmx/build.xml b/qpid/java/bdbstore/jmx/build.xml index e99a09f062..d3e9f63b46 100644 --- a/qpid/java/bdbstore/jmx/build.xml +++ b/qpid/java/bdbstore/jmx/build.xml @@ -23,6 +23,8 @@ + + diff --git a/qpid/java/broker-plugins/access-control/build.xml b/qpid/java/broker-plugins/access-control/build.xml index 193eac4d3d..4debdcb95a 100644 --- a/qpid/java/broker-plugins/access-control/build.xml +++ b/qpid/java/broker-plugins/access-control/build.xml @@ -23,6 +23,8 @@ + + diff --git a/qpid/java/broker-plugins/management-http/build.xml b/qpid/java/broker-plugins/management-http/build.xml index 73fc3eb53a..734d762f17 100644 --- a/qpid/java/broker-plugins/management-http/build.xml +++ b/qpid/java/broker-plugins/management-http/build.xml @@ -24,6 +24,8 @@ + + diff --git a/qpid/java/broker-plugins/management-jmx/build.xml b/qpid/java/broker-plugins/management-jmx/build.xml index 855514987b..9d212cf39a 100644 --- a/qpid/java/broker-plugins/management-jmx/build.xml +++ b/qpid/java/broker-plugins/management-jmx/build.xml @@ -23,6 +23,8 @@ + + diff --git a/qpid/java/broker/bin/qpid-server b/qpid/java/broker/bin/qpid-server index 382004c9f5..206ae6a225 100755 --- a/qpid/java/broker/bin/qpid-server +++ b/qpid/java/broker/bin/qpid-server @@ -33,8 +33,8 @@ if [ -z "$QPID_PNAME" ]; then export QPID_PNAME=" -DPNAME=QPBRKR" fi -# 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 classpath to include the qpid-all manifest jar, plus jars in lib/plugins and lib/opt +QPID_LIBS="$QPID_HOME/lib/qpid-all.jar:$QPID_HOME/lib/plugins/*:$QPID_HOME/lib/opt/*" # Set other variables used by the qpid-run script before calling export JAVA=java \ diff --git a/qpid/java/broker/build.xml b/qpid/java/broker/build.xml index be845d466a..3c4a7d81c6 100644 --- a/qpid/java/broker/build.xml +++ b/qpid/java/broker/build.xml @@ -48,9 +48,15 @@ - + + + + + + + - + diff --git a/qpid/java/common.xml b/qpid/java/common.xml index 3ea685fa52..2360dcddb7 100644 --- a/qpid/java/common.xml +++ b/qpid/java/common.xml @@ -42,7 +42,7 @@ - + diff --git a/qpid/java/module.xml b/qpid/java/module.xml index 4d7475829d..26349fb41c 100644 --- a/qpid/java/module.xml +++ b/qpid/java/module.xml @@ -74,6 +74,7 @@ + @@ -151,15 +152,6 @@ - - - - - - - @@ -248,7 +240,7 @@ - + @@ -392,8 +384,6 @@ - - @@ -504,7 +494,7 @@ - + @@ -518,6 +508,10 @@ + + + + -- cgit v1.2.1