source: trunk/gsdl3/install.bat@ 5956

Last change on this file since 5956 was 5069, checked in by kjdon, 21 years ago

now uses the new tomcat, hope this works, haven't tested it on windows. Michael said he will rewrite these scripts

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 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=%%JAVA_HOME%%\lib\tools.jar> setclasspath.bat.fix
25echo .>> setclasspath.bat.fix
26echo set CLASSPATH=%%CLASSPATH%%;%%JAVA_HOME%%\lib\tools.jar>> setclasspath.bat.fix
27echo e>> setclasspath.bat.fix
28edlin setclasspath.bat < setclasspath.bat.fix > nul
29del setclasspath.bat.fix
30del setclasspath.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.