From: SVN by r. <sv...@ca...> - 2008-10-12 12:15:21
|
Author: roy Date: 2008-10-12 14:15:13 +0200 (Sun, 12 Oct 2008) New Revision: 313 Added: sqlshell.bat Log: windows batch file Added: sqlshell.bat =================================================================== --- sqlshell.bat 2008-10-12 11:57:48 UTC (rev 312) +++ sqlshell.bat 2008-10-12 12:15:13 UTC (rev 313) @@ -0,0 +1,32 @@ +REM Copyright 2007 Roy van der Kuil (ro...@va...) and Stefan Rotman (st...@ro...) +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +REM Dir to use as base for relative locations +set WORKINGDIR=c:\sqlshell\ + +REM The directory where the JCurses jar and library are located. +REM Please note that JCurses requires tje jcurses.jar and libjcurses.so to +REM be located in the same directory. +set JCURSES=%WORKINGDIR%\lib + +REM Where to find the SQLShell classes +set SQLSHELL=%WORKINGDIR%\sqlshell.jar + +# REM providing drivers for the databases to support. +set DRIVERS="%WORKINGDIR%\lib\hsqldb-1.8.0.jar" + +REM The classpath to use when running +set CP=%WORKINGDIR%;%SQLSHELL%;%JCURSES%\jcurses.jar;%WORKINGDIR%\lib\charva\charva.jar;%WORKINGDIR%\lib\commons-logging.jar + +java -Djava.library.path=%WORKINGDIR%\lib\charva -classpath %CP%;%DRIVERS% nl.improved.sqlclient.charva.SQLShellComponent Property changes on: sqlshell.bat ___________________________________________________________________ Name: svn:executable + * |