Problem running SISC from a path with spaces [with tiny patch]
Evan Driscoll <driscoll <at> cs.wisc.edu>
2009-11-11 18:53:06 GMT
I'm running SISC 1.6.6 under Windows, and I put it into a path with
spaces in it. This caused problems because the command line arguments
weren't all quoted in the sisc.bat file; specifically the -D and -h
flags. Adding quotes around them fixed the problem for me; I've included
the modified sisc.bat file (had to change the name so the list would let
it by). (I don't have ready access to the original
so it's not a diff; sorry.)
Presumably something similar should be done to the Unix version of that
script too, but I didn't bother.
Evan Driscoll
rem @echo off
if NOT "%SISC_HOME%" == "" GOTO NOSET
set SISC_HOME=.
:NOSET
set EXTENSIONS=
if NOT "%JAVA%" == "" GOTO RUN
set JAVA=java
:RUN
%java% %JAVAOPT% -classpath
"%SISC_HOME%\sisc-opt.jar;%SISC_HOME%\sisc.jar;%SISC_HOME%\sisc-lib.jar;%CLASSPATH%"
-D"sisc.home=%SISC_HOME%" sisc.REPL %EXTENSIONS% -h "%SISC_HOME%\sisc.shp" %1 %2 %3 %4 %5 %6 %7 %8 %9
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
SISC-devel mailing list
SISC-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisc-devel