[greenstone-users] Librarian: Paths,plugins and classifiers problem.

From Stephen.DeGabrielle@ntu.edu.au
DateWed, 9 Jul 2003 10:54:21 +0930
Subject [greenstone-users] Librarian: Paths,plugins and classifiers problem.

just having some problems with the librarian...

1. On Win2000 it doesn't like spaces'C:Progam Files'....' - it kept making a C:Program folder so I changed the paths to the dos style;
set GSDLHOME=C:PROGRA~1gsdl
set PERLHOME=C:PROGRA~1gsdlbinwindowsperlbin
set JAVAHOME=C:PROGRA~1JavaJ2RE14~1.1_0
set CGIBINHOME=C:PROGRA~1gsdlserver.exe

2. Plugins menu option doesn't respond at all

3. Classifiers- the drop down menu fails doesn't include any classifiers

Anyone have any hints?

(I am using 2.40 with win2000)

 

stephen



-Gatherer.bat-
@echo off
if "%OS%" == "Windows_NT" goto Run
if "%OS%" == "" goto Win95

:Win95
if "%1" == "SetEnv" goto Run
REM We'll invoke a second copy of the command processor to make
REM sure there's enough environment space
COMMAND /E:2048 /K %0 SetEnv
goto End

:Run
REM ********************************************
set GSDLHOME=C:PROGRA~1gsdl
set PERLHOME=C:PROGRA~1gsdlbinwindowsperlbin
set JAVAHOME=C:PROGRA~1JavaJ2RE14~1.1_0
set CGIBINHOME=C:PROGRA~1gsdlserver.exe
REM ********************************************

set GSDLOS=Windows
if "%OS%" == "Windows_NT" set PATH=%PERLHOME%;%JAVAHOME%bin;%GSDLHOME%binwindows;%GSDLHOME%binscript;%PATH%
if "%OS%" == "" set PATH="%PERLHOME%""%JAVAHOME%bin""%GSDLHOME%binwindows""%GSDLHOME%binscript"%PATH%

java.exe -cp classes/;GLI.jar;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar org.greenstone.gatherer.Gatherer -gsdl %GSDLHOME% -perl %PERLHOME% -library %CGIBINHOME%
echo "Done!"

:End

REM There is an extra layer of complexity added by the creation of a second console from the first

if "%1" == "" goto SimpleEnd

exit

:SimpleEnd

cls