Last change
on this file since 4059 was 4056, checked in by mdewsnip, 21 years ago |
Windows equivalent of install-soap.bash. Unfortunately, it doesn't do nearly as much.
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
835 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | :: Check that %GSDL3HOME% is set
|
---|
4 | if 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 | :: Resolve the @gsdl3home@ in the %GSDL3HOME\src\java\org\greenstone\gsdl3\SOAPServer.java file
|
---|
11 | cd %GSDL3HOME%\src\java\org\greenstone\gsdl3
|
---|
12 | echo s String site_home="@gsdl3home@/sites/localsite";> SOAPServer.java.fix
|
---|
13 | echo .>> SOAPServer.java.fix
|
---|
14 | echo String site_home="%GSDL3HOME%\sites\localsite";>> SOAPServer.java.fix
|
---|
15 | echo e>> SOAPServer.java.fix
|
---|
16 | edlin SOAPSe~1.jav < SOAPServer.java.fix > nul
|
---|
17 | del SOAPServer.java.fix
|
---|
18 | del SOAPSe~1.bak
|
---|
19 | cd %GSDL3HOME%
|
---|
20 |
|
---|
21 | :: Remake GSDL3
|
---|
22 | cd %GSDL3HOME%\src\java\org\greenstone\gsdl3
|
---|
23 | call winMake.bat
|
---|
24 | call winMake.bat install
|
---|
25 | cd %GSDL3HOME%
|
---|
26 |
|
---|
27 | echo.
|
---|
28 | echo ----------------
|
---|
29 | echo.
|
---|
30 | echo You should now restart your Tomcat server.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.