source: trunk/gsdl3/gs3-launch.bat@ 7269

Last change on this file since 7269 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
6if 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 ----
13call gs3-setup.bat
14echo.
15if "%JAVA_HOME%" == "" goto exit
16
17set CATALINA_HOME=%GSDL3HOME%\comms\jakarta\tomcat
18set CATALINA_OPTS="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=%GSDL3HOME% -DGSDLOS=%GSDLOS% -DGSDLHOME= -DPATH=%PATH%"
19
20:: ---- Start the Tomcat server ----
21call "%GSDL3HOME%\comms\jakarta\tomcat\bin\startup.bat"
22
23:: ---- Launch a web browser ----
24start http://localhost:8080/gsdl3
25
26:exit
Note: See TracBrowser for help on using the repository browser.