Changeset 20905 for gsdl/trunk/gs2-server.bat
- Timestamp:
- 2009-11-04T16:22:54+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/gs2-server.bat
r20901 r20905 46 46 :: the null (NUL) device does exist in every directory. As a result, you 47 47 :: can test for the null device to determine whether a directory exists." 48 ::echo %GSDLHOME%\apache-httpd\nul 49 if not exist %GSDLHOME%\apache-httpd\nul(48 echo "%GSDLHOME%\apache-httpd\nul" 49 if not exist "%GSDLHOME%\apache-httpd\*" ( 50 50 echo. 51 51 echo UNABLE TO CONTINUE: There is no apache-httpd directory. … … 76 76 77 77 :: http://ss64.com/nt/call.html (and leave in trailing slash) 78 call :isinpath %GSDLHOME%\lib\java78 call :isinpath "%GSDLHOME%\lib\java" 79 79 80 80 :: After the call, we come back here … … 103 103 :: http://ss64.com/nt/for_r.html and (for call) http://ss64.com/nt/for.html 104 104 :: http://ss64.com/nt/syntax-args.html 105 FOR /R "%GSDLHOME%\lib\java" %%G IN (*.jar) DO call :putinpath %%G105 FOR /R "%GSDLHOME%\lib\java" %%G IN (*.jar) DO call :putinpath "%%G" 106 106 echo - Adjusted CLASSPATH 107 107 echo. … … 111 111 112 112 :putinpath 113 echo jarfile: %1 114 set CLASSPATH=%CLASSPATH%;%1 113 set jarfile=%1 114 ::strip quotes around jarfile path, since we can't update classpath with quotes 115 set jarfile=%jarfile:"=% 116 echo jarfile: %jarfile% 117 set CLASSPATH=%CLASSPATH%;%jarfile% 115 118 goto :eof 116 119 … … 130 133 if "%serverlang%" == "en" ( 131 134 echo *************************************************************** 132 echo Starting the Greenstone Server Interface (GSI)...135 echo Starting the Greenstone Server Interface ^(GSI^)... 133 136 echo. 134 137 echo Server log messages go to: 135 echo %GSDLHOME%\etc\logs-gsi\server.log138 echo "%GSDLHOME%\etc\logs-gsi\server.log" 136 139 echo. 137 140 echo Using Apache web server located at: 138 echo %GSDLHOME%\apache-httpd\%GSDLOS%\bin\httpd141 echo "%GSDLHOME%\apache-httpd\%GSDLOS%\bin\httpd" 139 142 echo The Apache error log is at: 140 echo %GSDLHOME%\apache-httpd\%GSDLOS%\logs\error_log143 echo "%GSDLHOME%\apache-httpd\%GSDLOS%\logs\error_log" 141 144 echo The Apache configuration file template is at: 142 echo %GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf.in145 echo "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf.in" 143 146 echo This is used to generate: 144 echo %GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf147 echo "%GSDLHOME%\apache-httpd\%GSDLOS%\conf\httpd.conf" 145 148 echo each time Enter Library is pressed or otherwise activated. 146 149 echo ***************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.