Last change
on this file since 7812 was 6441, checked in by mdewsnip, 20 years ago |
Moved Java checking from gs3-launch.bat into gs3-setup.bat.
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
698 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 |
|
---|
4 | :: -------- Launch the Greenstone 3 Digital Library Software --------
|
---|
5 |
|
---|
6 | if exist gs3-setup.bat goto start
|
---|
7 | echo This script must be run from within the Greenstone 3 home directory
|
---|
8 | pause
|
---|
9 | goto exit
|
---|
10 |
|
---|
11 | :start
|
---|
12 | :: ---- Run setup.bat to set the necessary environment variables ----
|
---|
13 | call gs3-setup.bat
|
---|
14 | echo.
|
---|
15 | if "%JAVA_HOME%" == "" goto exit
|
---|
16 |
|
---|
17 | set CATALINA_HOME=%GSDL3HOME%\comms\jakarta\tomcat
|
---|
18 | set CATALINA_OPTS="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=%GSDL3HOME% -DGSDLOS=%GSDLOS% -DGSDLHOME= -DPATH=%PATH%"
|
---|
19 |
|
---|
20 | :: ---- Start the Tomcat server ----
|
---|
21 | call "%GSDL3HOME%\comms\jakarta\tomcat\bin\startup.bat"
|
---|
22 |
|
---|
23 | :: ---- Launch a web browser ----
|
---|
24 | start http://localhost:8080/gsdl3
|
---|
25 |
|
---|
26 | :exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.