embedded-db-viewer.sh 654 Bytes
Newer Older
Alex Wenckus's avatar
Alex Wenckus committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# $Revision$
# $Date$

# Script to start the HSQLDB database viewer. The embedded-db.rc file
# contains connection settings. Visit http://hsqldb.org for documentation
# on using the tool. The classpath includes JDBC drivers shipped with Openfire
# to work with the Transfer tool. You will need to add any other JDBC driver
# that you'd like to use with the transfer tool to the classpath manually.

CLASSPATH=../../lib/hsqldb.jar:../../lib/mysql.jar:../../lib/postgres.jar:../../lib/jtds.jar
export CLASSPATH

echo Starting embedded database viewer...

java -cp $CLASSPATH org.hsqldb.util.DatabaseManagerSwing --rcfile embedded-db.rc --urlid embedded-db