I corrected and improved the batch files for hsqldb v1.9 beta 6.  Class
packages were incorrect, and pushd/popd was used instead of cd.

runManager.bat

@pushd ..\data
@java -classpath ..\lib\hsqldb.jar org.hsqldb.util.DatabaseManager %1 %2 %3
%4 %5 %6 %7 %8 %9
@popd


runServer.bat

@pushd ..\data
@java -classpath ../lib/hsqldb.jar org.hsqldb.server.Server %1 %2 %3 %4 %5
%6 %7 %8 %9
@popd


runManagerSwing.bat

@pushd ..\data
@java -classpath ..\lib\hsqldb.jar org.hsqldb.util.DatabaseManagerSwing %1
%2 %3 %4 %5 %6 %7 %8 %9
@popd


runWebServer.bat

@pushd ..\data
@java -classpath ..\lib\hsqldb.jar org.hsqldb.server.WebServer %1 %2 %3 %4
%5 %6 %7 %8 %9
@popd


runUtil.bat

@pushd ..\data
@java -classpath ..\lib\hsqldb.jar org.hsqldb.util.%1 %2 %3 %4 %5 %6 %7 %8
%9
@popd


runSqlTool.bat

@pushd %~dp0\..\data
@java -classpath ..\lib\hsqldb.jar org.hsqldb.cmdline.SqlTool %1 %2 %3 %4 %5
%6 %7 %8 %9
@popd

-- 
View this message in context: 
http://www.nabble.com/bin-*.bat-improvements-tp25978389p25978389.html
Sent from the HSQLDB - Dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to