source: trunk/gsdl3/install.bat@ 4828

Last change on this file since 4828 was 4051, checked in by kjdon, 21 years ago

interfaces and sites now in web directory

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1@echo off
2
3:: Check that %GSDL3HOME% is set
4if not "%GSDL3HOME%" == "" goto envOK
5 echo "You need to run `setup.bat' before running this install file"
6 goto end
7
8:envOK
9
10:: Make sure we have the current GSDL3 - this also prunes empty directories
11cvs update -dRP
12
13:: Check out mgpp
14rem cd %GSDL3HOME%\packages
15rem cvs co mgpp
16rem cd %GSDL3HOME%
17
18
19:: Resolve the @gsdl3home@s in the web\WEB-INF\web.xml file
20echo If you haven't already done so, you need to edit the web\WEB-INF\web.xml
21echo file, replacing both instances of "@gsdl3home@" with "%GSDL3HOME%".
22
23cd %CATALINA_HOME%\bin
24echo sset CLASSPATH=%%CP%%> catalina.bat.fix
25echo .>> catalina.bat.fix
26echo set CLASSPATH=%%CLASSPATH%%;%%CP%%>> catalina.bat.fix
27echo e>> catalina.bat.fix
28edlin catalina.bat < catalina.bat.fix > nul
29del catalina.bat.fix
30del catalina.bak
31cd %GSDL3HOME%
32
33echo.
34echo ----------------
35echo.
36echo Some sample collections are included with this distribution. To use these,
37echo you need to unpack the collection indexes.
38echo These are located in the index folder of each collection in
39echo %GSDL3HOME%\web\sites\localsite\collect\.
40echo.
Note: See TracBrowser for help on using the repository browser.