Author: ritchiem
Date: 2008-10-17 08:49:30 -0400 (Fri, 17 Oct 2008)
New Revision: 2646
Modified:
store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh
store/branches/java/broker-queue-refactor/java/bdbstore/bin/storeUpgrade.sh
Log:
Moved classpath to an variable to make it more visible
Modified: store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh
===================================================================
--- store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh 2008-10-16
19:45:18 UTC (rev 2645)
+++ store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh 2008-10-17
12:49:30 UTC (rev 2646)
@@ -9,5 +9,7 @@
fi
done
+LIBS=$BDB_HOME/lib/qpid-bdbtools-M3.jar:$BDB_HOME/lib/je-3.3.62.jar:$BDB_HOME/lib/qpid-bdbstore-M3.jar:$QPID_HOME/lib/qpid-incubating.jar
+
echo "Starting Hot Backup Script"
-java -Dlog4j.configuration=backup-log4j.xml ${JAVA_OPTS} -cp
qpid-bdbstore-1.0-incubating-M2-SNAPSHOT-all-test-deps.jar
org.apache.qpid.server.store.berkeleydb.BDBBackup ${ARGS}
+java -Dlog4j.configuration=backup-log4j.xml ${JAVA_OPTS} -cp $LIBS
org.apache.qpid.server.store.berkeleydb.BDBBackup ${ARGS}
Modified: store/branches/java/broker-queue-refactor/java/bdbstore/bin/storeUpgrade.sh
===================================================================
--- store/branches/java/broker-queue-refactor/java/bdbstore/bin/storeUpgrade.sh 2008-10-16
19:45:18 UTC (rev 2645)
+++ store/branches/java/broker-queue-refactor/java/bdbstore/bin/storeUpgrade.sh 2008-10-17
12:49:30 UTC (rev 2646)
@@ -18,4 +18,6 @@
export BDB_HOME=$(dirname $(dirname $(readlink -f $0)))
fi
-java -Xms256m -Dlog4j.configuration=BDBStoreUpgrade.log4j.xml -Xmx256m
-Damqj.logging.level=warn ${JAVA_OPTS} -cp
$BDB_HOME/lib/qpid-bdbtools-M3.jar:$BDB_HOME/lib/je-3.3.62.jar:$BDB_HOME/lib/qpid-bdbstore-M3.jar:$QPID_HOME/lib/qpid-incubating.jar
org.apache.qpid.server.store.berkeleydb.BDBStoreUpgrade ${ARGS}
+LIBS=$BDB_HOME/lib/qpid-bdbtools-M3.jar:$BDB_HOME/lib/je-3.3.62.jar:$BDB_HOME/lib/qpid-bdbstore-M3.jar:$QPID_HOME/lib/qpid-incubating.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}
Show replies by date