source: main/tags/3.03/greenstone3/gs3-server.bat@ 24581

Last change on this file since 24581 was 14728, checked in by qq6, 16 years ago

looking for the JRE home first then the java home

  • 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.