Changeset 20478
- Timestamp:
- 2009-09-02T13:15:07+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/gs2-server.bat
r20436 r20478 120 120 :: Need to find Java. If found, JAVA_EXECUTABLE will be set 121 121 :: call findjava.bat %serverlang% %PROGNAME% 122 call findjava.bat122 call "%GSDLHOME%\findjava.bat" 123 123 if "%JAVA_EXECUTABLE%" == "" echo **** No Java executable found& goto exit 124 124 … … 127 127 echo. 128 128 "%JAVA_EXECUTABLE%" org.greenstone.server.Server2 "%GSDLHOME%" "%serverlang%" %* 129 ::echo ******* Second argument to gs2-server.bat is: %2 130 :: The 1st argument to gs2-server.bat (if any) would be --config, the 2nd is the config 131 :: filename if it is glisite.cfg, then this script was launched through GLI and would 132 :: have opened a DOS console. Need to exit from this script then to close the console. 133 if "%2" == "%GSDLHOME%\glisite.cfg" goto quitcmd 129 134 goto exit 130 135 136 :: Exit the batch script (close the console) 137 :quitcmd 138 popd 139 ENDLOCAL 140 exit 0 141 142 :: Just end the script without closing the console 131 143 :exit 132 144 popd
Note:
See TracChangeset
for help on using the changeset viewer.