Problem running SISC from a path with spaces [with tiny patch]

Evan Driscoll <[email protected]> Wed, 11 Nov 2009 12:53:06 -0600
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------050708010008050208020809
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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



--------------050708010008050208020809
Content-Type: text/plain;
 name="sisc.not_bat"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sisc.not_bat"

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


--------------050708010008050208020809
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--------------050708010008050208020809
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SISC-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-devel

--------------050708010008050208020809--