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