source: trunk/gli/gli.bat@ 4959

Last change on this file since 4959 was 4921, checked in by mdewsnip, 21 years ago

Removed hard-wired paths.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1@echo off
2if "%OS%" == "Windows_NT" goto Run
3if "%OS%" == "" goto Win95
4
5:Win95
6if "%1" == "SetEnv" goto Run
7REM We'll invoke a second copy of the command processor to make
8REM sure there's enough environment space
9COMMAND /E:2048 /K %0 SetEnv
10goto End
11
12:Run
13REM ********************************************
14set GSDLHOME=**GSDLHOME**
15set PERLHOME=**PERLHOME**
16set JAVAHOME=**JAVAHOME**
17set CGIBINHOME=**CGIBINHOME**
18REM ********************************************
19
20set GSDLOS=Windows
21if "%OS%" == "Windows_NT" set PATH=%PATH%;%PERLHOME%;%JAVAHOME%\bin;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script
22if "%OS%" == "" set PATH="%PATH%";"%PERLHOME%";"%JAVAHOME%\bin";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script"
23
24java.exe -cp classes/;Gatherer.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%
25echo "Done!"
26
27:End
28
29if "%1" == "SetEnv" goto EndAndExit
30
31echo "Closing initial console."
32
33cls
34
35:EndAndExit
36
37echo "Closing second console."
38
39exit
40cls
Note: See TracBrowser for help on using the repository browser.