source: greenstone3/branches/3.03a/gs3-server.bat@ 15328

Last change on this file since 15328 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
Line 
1@echo off
2
3echo Greenstone 3 Server
4echo Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato
5echo This software comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
6echo This is free software, and you are welcome to redistribute it
7
8:: ---- Determine GSDL3HOME ----
9:: Some users may set the above line manually
10set 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
16if "%GSDL3SRCHOME%" == "" call "%GSDL3PATH%\gs3-setup.bat" SetEnv > nul
17
18set GSDL3PATH=
19
20"%RUNJAVA%" -cp "%CLASSPATH%" org.greenstone.server.Server "%GSDL3SRCHOME%"
21
22
23
24
25
Note: See TracBrowser for help on using the repository browser.