source: trunk/gsdl3/gs3-finalise.bat@ 7230

Last change on this file since 7230 was 6440, checked in by mdewsnip, 20 years ago

Now works!

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 880 bytes
Line 
1@echo off
2
3:: ---- Check that %GSDL3HOME% is set ----
4if not "%GSDL3HOME%" == "" goto start
5 echo You need to run gs3-setup.bat before running this file
6 goto exit
7
8:start
9echo %GSDL3HOME%| "%GSDL3HOME%\winutil\sed.exe" 's,\\,\\\\,g' | "%GSDL3HOME%\winutil\setvar.exe" GSDL3HOME_ESCAPED >setgsdl3e.bat
10call setgsdl3e.bat
11del setgsdl3e.bat
12
13:: ---- Set GSDL3 Service docBase path ----
14echo Setting GSDL3 service path for Tomcat...
15cd %GSDL3HOME%\comms\jakarta\tomcat\conf
16ren server.xml server.xml.in
17"%GSDL3HOME%\winutil\sed.exe" 's,@gsdl3home@,%GSDL3HOME_ESCAPED%,' server.xml.in >server.xml
18cd %GSDL3HOME%
19
20:: ---- Set up the servlet information for Tomcat ----
21echo Setting up servlet information for Tomcat...
22cd %GSDL3HOME%\web\WEB-INF
23"%GSDL3HOME%\winutil\sed.exe" 's,@gsdl3home@,%GSDL3HOME_ESCAPED%,' web.xml.in > web.xml
24cd %GSDL3HOME%
25
26set GSDL3HOME_ESCAPED=
27:exit
Note: See TracBrowser for help on using the repository browser.