Changeset 30574 for main/trunk/gli/gli.bat
- Timestamp:
- 2016-06-16T19:20:23+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/gli.bat
r30573 r30574 167 167 168 168 rem In a web-dispersed GS3 set up like in the labs, gsdl3home.isreadonly would be true and 169 rem we need to run the web server in read-only mode. This section of code borrowed from gs3-server.bat. 170 set USE_TMPDIR_FOR_TOMCAT= 169 rem we need to run the web server in read-only mode. This section of code borrowed from gs3-server.bat. 171 170 for /F "tokens=1,2 delims==" %%G in (%GSDL3SRCHOME%\build.properties) do ( 172 if "%%G"=="gsdl3home.isreadonly" set USE_TMPDIR_FOR_TOMCAT=%%H 173 ) 174 if "%USE_TMPDIR_FOR_TOMCAT%" == "true" ( 175 set gsdl3_writablehome=%TMP%\greenstone\web 176 set opt_properties="-Dgsdl3home.isreadonly=true" -Dgsdl3.writablehome="%gsdl3_writablehome%" 177 echo Setting Greenstone3 web home writable area to be: %gsdl3_writablehome% 178 pushd %GSDL3SRCHOME% 179 cmd /c ant.bat %opt_properties% configure-web 180 popd 171 if "%%G"=="gsdl3home.isreadonly" if "%%H" == "true" ( 172 set gsdl3_writablehome=%TMP%\greenstone\web 173 :: not used 174 set opt_properties="-Dgsdl3home.isreadonly=true" -Dgsdl3.writablehome="%gsdl3_writablehome%" 175 echo Setting Greenstone3 web home writable area to be: %gsdl3_writablehome% 176 pushd %GSDL3SRCHOME% 177 :: passing opt_properties is no longer necessary because ant.bat is unmodified (doesn't make use of it) 178 :: and because build.xml already contains the properties with the correct values 179 cmd /c ant.bat %opt_properties% configure-web 180 popd 181 ) 181 182 ) 182 183
Note:
See TracChangeset
for help on using the changeset viewer.