From 86ae095f976b6c9d9d6134671ff95818f694851f Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Wed, 30 Nov 2011 16:10:52 +0000 Subject: NO-JIRA: update scripts to reference current deps etc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1208480 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/bdbstore/bin/backup.sh | 2 +- qpid/java/bdbstore/bin/storeUpgrade.sh | 6 +----- qpid/java/bdbstore/etc/scripts/bdbbackuptest.sh | 4 ++-- qpid/java/bdbstore/etc/scripts/bdbtest.sh | 4 ++-- qpid/java/broker/bin/msTool.sh | 2 +- 5 files changed, 7 insertions(+), 11 deletions(-) (limited to 'qpid/java') diff --git a/qpid/java/bdbstore/bin/backup.sh b/qpid/java/bdbstore/bin/backup.sh index 22d8d52b58..b58ab16282 100755 --- a/qpid/java/bdbstore/bin/backup.sh +++ b/qpid/java/bdbstore/bin/backup.sh @@ -33,7 +33,7 @@ if [ -z "$QPID_HOME" ]; then fi VERSION=0.15 -LIBS=$QPID_HOME/lib/je-4.0.103.jar:$QPID_HOME/lib/qpid-bdbstore-$VERSION.jar:$QPID_HOME/lib/qpid-all.jar +LIBS=$QPID_HOME/lib/opt/je-4.0.117.jar:$QPID_HOME/lib/qpid-bdbstore-$VERSION.jar:$QPID_HOME/lib/qpid-all.jar echo "Starting Hot Backup Script" diff --git a/qpid/java/bdbstore/bin/storeUpgrade.sh b/qpid/java/bdbstore/bin/storeUpgrade.sh index f3b089b3d3..ffb33f7fbd 100755 --- a/qpid/java/bdbstore/bin/storeUpgrade.sh +++ b/qpid/java/bdbstore/bin/storeUpgrade.sh @@ -32,12 +32,8 @@ if [ -z "$QPID_HOME" ]; then export PATH=${PATH}:${QPID_HOME}/bin fi -if [ -z "$BDB_HOME" ]; then - export BDB_HOME=$(dirname $(dirname $(readlink -f $0))) -fi - VERSION=0.15 -LIBS=$BDB_HOME/lib/je-4.0.103.jar:$BDB_HOME/lib/qpid-bdbstore-$VERSION.jar:$QPID_HOME/lib/qpid-all.jar +LIBS=$QPID_HOME/lib/opt/je-4.0.117.jar:$QPID_HOME/lib/qpid-bdbstore-$VERSION.jar:$QPID_HOME/lib/qpid-all.jar java -Xms256m -Dlog4j.configuration=BDBStoreUpgrade.log4j.xml -Xmx256m -Damqj.logging.level=warn ${JAVA_OPTS} -cp $LIBS org.apache.qpid.server.store.berkeleydb.BDBStoreUpgrade ${ARGS} diff --git a/qpid/java/bdbstore/etc/scripts/bdbbackuptest.sh b/qpid/java/bdbstore/etc/scripts/bdbbackuptest.sh index 2a0b72e5ad..4224f98de2 100755 --- a/qpid/java/bdbstore/etc/scripts/bdbbackuptest.sh +++ b/qpid/java/bdbstore/etc/scripts/bdbbackuptest.sh @@ -32,10 +32,10 @@ for arg in "$@"; do fi done -VERSION=0.5 +VERSION=0.15 # Set classpath to include Qpid jar with all required jars in manifest -QPID_LIBS=$QPID_HOME/lib/qpid-all.jar:$QPID_HOME/lib/qpid-junit-toolkit-$VERSION.jar:$QPID_HOME/lib/junit-3.8.1.jar:$QPID_HOME/lib/log4j-1.2.12.jar:$QPID_HOME/lib/qpid-systests-$VERSION.jar:$QPID_HOME/lib/qpid-perftests-$VERSION.jar:$QPID_HOME/lib/slf4j-log4j12-1.4.0.jar:$QPID_HOME/lib/qpid-bdbstore-$VERSION.jar +QPID_LIBS=$QPID_HOME/lib/qpid-all.jar:$QPID_HOME/lib/qpid-junit-toolkit-$VERSION.jar:$QPID_HOME/lib/junit-3.8.1.jar:$QPID_HOME/lib/log4j-1.2.12.jar:$QPID_HOME/lib/qpid-systests-$VERSION.jar:$QPID_HOME/lib/qpid-perftests-$VERSION.jar:$QPID_HOME/lib/slf4j-log4j12-1.6.1.jar:$QPID_HOME/lib/qpid-bdbstore-$VERSION.jar # Set other variables used by the qpid-run script before calling export JAVA=java JAVA_MEM=-Xmx256m QPID_CLASSPATH=$QPID_LIBS diff --git a/qpid/java/bdbstore/etc/scripts/bdbtest.sh b/qpid/java/bdbstore/etc/scripts/bdbtest.sh index eafdae9710..d53481c393 100755 --- a/qpid/java/bdbstore/etc/scripts/bdbtest.sh +++ b/qpid/java/bdbstore/etc/scripts/bdbtest.sh @@ -32,10 +32,10 @@ for arg in "$@"; do fi done -VERSION=0.5 +VERSION=0.15 # Set classpath to include Qpid jar with all required jars in manifest -QPID_LIBS=$QPID_HOME/lib/qpid-all.jar:$QPID_HOME/lib/qpid-junit-toolkit-$VERSION.jar:$QPID_HOME/lib/junit-3.8.1.jar:$QPID_HOME/lib/log4j-1.2.12.jar:$QPID_HOME/lib/qpid-systests-$VERSION.jar:$QPID_HOME/lib/qpid-perftests-$VERSION.jar:$QPID_HOME/lib/slf4j-log4j12-1.4.0.jar +QPID_LIBS=$QPID_HOME/lib/qpid-all.jar:$QPID_HOME/lib/qpid-junit-toolkit-$VERSION.jar:$QPID_HOME/lib/junit-3.8.1.jar:$QPID_HOME/lib/log4j-1.2.12.jar:$QPID_HOME/lib/qpid-systests-$VERSION.jar:$QPID_HOME/lib/qpid-perftests-$VERSION.jar:$QPID_HOME/lib/slf4j-log4j12-1.6.1.jar # Set other variables used by the qpid-run script before calling export JAVA=java JAVA_MEM=-Xmx256m QPID_CLASSPATH=$QPID_LIBS diff --git a/qpid/java/broker/bin/msTool.sh b/qpid/java/broker/bin/msTool.sh index e190a0a46a..d9aa81a73a 100755 --- a/qpid/java/broker/bin/msTool.sh +++ b/qpid/java/broker/bin/msTool.sh @@ -49,7 +49,7 @@ if $cygwin; then fi # Set classpath to include Qpid jar with all required jars in manifest -QPID_LIBS=$QPID_TOOLS/lib/qpid-all.jar +QPID_LIBS="$QPID_TOOLS/lib/qpid-all.jar:$QPID_TOOLS/lib/opt/*" # Set other variables used by the qpid-run script before calling export JAVA=java \ -- cgit v1.2.1