Last change
on this file since 7812 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 ----
|
---|
4 | if not "%GSDL3HOME%" == "" goto start
|
---|
5 | echo You need to run gs3-setup.bat before running this file
|
---|
6 | goto exit
|
---|
7 |
|
---|
8 | :start
|
---|
9 | echo %GSDL3HOME%| "%GSDL3HOME%\winutil\sed.exe" 's,\\,\\\\,g' | "%GSDL3HOME%\winutil\setvar.exe" GSDL3HOME_ESCAPED >setgsdl3e.bat
|
---|
10 | call setgsdl3e.bat
|
---|
11 | del setgsdl3e.bat
|
---|
12 |
|
---|
13 | :: ---- Set GSDL3 Service docBase path ----
|
---|
14 | echo Setting GSDL3 service path for Tomcat...
|
---|
15 | cd %GSDL3HOME%\comms\jakarta\tomcat\conf
|
---|
16 | ren server.xml server.xml.in
|
---|
17 | "%GSDL3HOME%\winutil\sed.exe" 's,@gsdl3home@,%GSDL3HOME_ESCAPED%,' server.xml.in >server.xml
|
---|
18 | cd %GSDL3HOME%
|
---|
19 |
|
---|
20 | :: ---- Set up the servlet information for Tomcat ----
|
---|
21 | echo Setting up servlet information for Tomcat...
|
---|
22 | cd %GSDL3HOME%\web\WEB-INF
|
---|
23 | "%GSDL3HOME%\winutil\sed.exe" 's,@gsdl3home@,%GSDL3HOME_ESCAPED%,' web.xml.in > web.xml
|
---|
24 | cd %GSDL3HOME%
|
---|
25 |
|
---|
26 | set GSDL3HOME_ESCAPED=
|
---|
27 | :exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.