Last change
on this file since 4630 was 4293, checked in by jmt12, 21 years ago |
Initial revision
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
942 bytes
|
Rev | Line | |
---|
[4293] | 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 Gatherer.jar;classes/;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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.