Last change
on this file since 4833 was 4675, checked in by jmt12, 21 years ago |
Sunday's work
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 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=D:\Progra~1\gsdl\
|
---|
15 | set PERLHOME=D:\Progra~1\Perl\bin\
|
---|
16 | set JAVAHOME=D:\Progra~1\j2sdk1.4.0
|
---|
17 | REM set CGIBINHOME=http://vektor/gsdl
|
---|
18 | set CGIBINHOME=D:\Progra~1\gsdl\server.exe
|
---|
19 | REM ********************************************
|
---|
20 |
|
---|
21 | set GSDLOS=Windows
|
---|
22 | if "%OS%" == "Windows_NT" set PATH=%PATH%;%PERLHOME%;%JAVAHOME%\bin;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script
|
---|
23 | if "%OS%" == "" set PATH="%PATH%";"%PERLHOME%";"%JAVAHOME%\bin";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script"
|
---|
24 |
|
---|
25 | 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%
|
---|
26 | echo "Done!"
|
---|
27 |
|
---|
28 | :End
|
---|
29 |
|
---|
30 | if "%1" == "SetEnv" goto EndAndExit
|
---|
31 |
|
---|
32 | echo "Closing initial console."
|
---|
33 |
|
---|
34 | cls
|
---|
35 |
|
---|
36 | :EndAndExit
|
---|
37 |
|
---|
38 | echo "Closing second console."
|
---|
39 |
|
---|
40 | exit
|
---|
41 | cls |
---|
Note:
See
TracBrowser
for help on using the repository browser.