Last change
on this file since 14946 was 14727, checked in by qq6, 17 years ago |
looking for the JRE home first then the JAVA home while starting the gs3 server
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
679 bytes
|
Rev | Line | |
---|
[13235] | 1 | @echo off
|
---|
[13931] | 2 |
|
---|
[14727] | 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
|
---|
[13235] | 7 |
|
---|
[13553] | 8 | :: ---- Determine GSDL3HOME ----
|
---|
[14727] | 9 | :: Some users may set the above line manually
|
---|
[13235] | 10 | set GSDL3PATH=
|
---|
| 11 |
|
---|
[14727] | 12 | :: The default location is the current directory
|
---|
| 13 | if "%GSDL3PATH%" == "" set GSDL3PATH=.
|
---|
[13235] | 14 |
|
---|
| 15 | :: Setup Greenstone, unless it has already been done
|
---|
[14727] | 16 | if "%GSDL3SRCHOME%" == "" call "%GSDL3PATH%\gs3-setup.bat" SetEnv > nul
|
---|
[13235] | 17 |
|
---|
| 18 | set GSDL3PATH=
|
---|
| 19 |
|
---|
[14727] | 20 | "%RUNJAVA%" -cp "%CLASSPATH%" org.greenstone.server.Server "%GSDL3SRCHOME%"
|
---|
[13235] | 21 |
|
---|
| 22 |
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | |
---|
Note:
See
TracBrowser
for help on using the repository browser.