http://svn.greenstone.org/greenstone3/trunk/gs3-server.bat
|
Revision 15070, 0.7 kB
(checked in by oranfry, 10 months ago)
|
checking in two very simplified gs3 scripts and a grain of salt
|
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
@echo off |
|---|
| 2 |
|
|---|
| 3 |
echo Greenstone 3 Server |
|---|
| 4 |
echo Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato |
|---|
| 5 |
echo This software comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt |
|---|
| 6 |
echo This is free software, and you are welcome to redistribute it |
|---|
| 7 |
|
|---|
| 8 |
:: ---- Determine GSDL3HOME ---- |
|---|
| 9 |
:: Some users may set the above line manually |
|---|
| 10 |
set GSDL3PATH= |
|---|
| 11 |
|
|---|
| 12 |
:: The default location is the current directory |
|---|
| 13 |
if "%GSDL3PATH%" == "" set GSDL3PATH=. |
|---|
| 14 |
|
|---|
| 15 |
:: Setup Greenstone, unless it has already been done |
|---|
| 16 |
if "%GSDL3SRCHOME%" == "" call "%GSDL3PATH%\gs3-setup.bat" SetEnv > nul |
|---|
| 17 |
|
|---|
| 18 |
set GSDL3PATH= |
|---|
| 19 |
|
|---|
| 20 |
"%RUNJAVA%" -cp "%CLASSPATH%" org.greenstone.server.Server "%GSDL3SRCHOME%" |
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|