Ignore:
Timestamp:
2011-05-04T16:51:36+12:00 (13 years ago)
Author:
ak19
Message:

Bringing the windows scripts up to date with the linux scripts. Changes are still to do with moving resetting the server (and Greenstone) after moving Greenstone home. Now gs2-server can be launched as it is and will run from whichever folder GS is moved to, without having to explicitly call gsicontrol.bat's reset-gsdlhome target first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/gs2-web-server.bat

    r22990 r23987  
    235235
    236236:runit
     237:: whenever the server is started up, make sure gsdlhome is correct (in case the gs install was moved).
     238:: In parallel with the linux equivalent script, redirect stdout into the void
     239:: (If redirecting both stderr and stdout into the void, would need to use >nul 2>&1. See
     240:: http://stackoverflow.com/questions/1420965/redirect-stdout-and-stderr-to-a-single-file-in-dos)
     241call gsicontrol.bat reset-gsdlhome >nul
     242
    237243::echo port: %port%& echo conf: %conf%& echo.& echo.
    238244:: "%JAVA_EXECUTABLE%" org.greenstone.server.Server2 "%GSDLHOME%" "%serverlang%" %*
Note: See TracChangeset for help on using the changeset viewer.