source: trunk/gsdl3/install-soap.bat@ 4056

Last change on this file since 4056 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
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:: Resolve the @gsdl3home@ in the %GSDL3HOME\src\java\org\greenstone\gsdl3\SOAPServer.java file
11cd %GSDL3HOME%\src\java\org\greenstone\gsdl3
12echo s String site_home="@gsdl3home@/sites/localsite";> SOAPServer.java.fix
13echo .>> SOAPServer.java.fix
14echo String site_home="%GSDL3HOME%\sites\localsite";>> SOAPServer.java.fix
15echo e>> SOAPServer.java.fix
16edlin SOAPSe~1.jav < SOAPServer.java.fix > nul
17del SOAPServer.java.fix
18del SOAPSe~1.bak
19cd %GSDL3HOME%
20
21:: Remake GSDL3
22cd %GSDL3HOME%\src\java\org\greenstone\gsdl3
23call winMake.bat
24call winMake.bat install
25cd %GSDL3HOME%
26
27echo.
28echo ----------------
29echo.
30echo You should now restart your Tomcat server.
Note: See TracBrowser for help on using the repository browser.