Changeset 30592
- Timestamp:
- 2016-06-24T15:50:39+12:00 (7 years ago)
- Location:
- main/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/gems.bat
r30573 r30592 48 48 rem If GS3, get the using.user.web property from build.properties and if set to true, we can skip to shiftElevated 49 49 :: http://ss64.com/nt/syntax-substring.html 50 if "%_VERSION%" == "3" if exist "%GSDL3SRCHOME%\build.properties" for /F " tokens=1,2 delims==" %%G in (%GSDL3SRCHOME%\build.properties) do (50 if "%_VERSION%" == "3" if exist "%GSDL3SRCHOME%\build.properties" for /F "usebackq tokens=1,2 delims==" %%G in ("%GSDL3SRCHOME%\build.properties") do ( 51 51 if "%%G" == "using.user.web" if "%%H" == "true" goto :shiftElevated 52 52 ) -
main/trunk/gli/gli.bat
r30574 r30592 52 52 rem If GS3, get the using.user.web property from build.properties and if set to true, we can skip to shiftElevated 53 53 :: http://ss64.com/nt/syntax-substring.html 54 if "%_VERSION%" == "3" if exist "%GSDL3SRCHOME%\build.properties" for /F " tokens=1,2 delims==" %%G in (%GSDL3SRCHOME%\build.properties) do (54 if "%_VERSION%" == "3" if exist "%GSDL3SRCHOME%\build.properties" for /F "usebackq tokens=1,2 delims==" %%G in ("%GSDL3SRCHOME%\build.properties") do ( 55 55 if "%%G" == "using.user.web" if "%%H" == "true" goto :shiftElevated 56 56 ) … … 168 168 rem In a web-dispersed GS3 set up like in the labs, gsdl3home.isreadonly would be true and 169 169 rem we need to run the web server in read-only mode. This section of code borrowed from gs3-server.bat. 170 for /F " tokens=1,2 delims==" %%G in (%GSDL3SRCHOME%\build.properties) do (170 for /F "usebackq tokens=1,2 delims==" %%G in ("%GSDL3SRCHOME%\build.properties") do ( 171 171 if "%%G"=="gsdl3home.isreadonly" if "%%H" == "true" ( 172 172 set gsdl3_writablehome=%TMP%\greenstone\web … … 174 174 set opt_properties="-Dgsdl3home.isreadonly=true" -Dgsdl3.writablehome="%gsdl3_writablehome%" 175 175 echo Setting Greenstone3 web home writable area to be: %gsdl3_writablehome% 176 pushd %GSDL3SRCHOME%176 pushd "%GSDL3SRCHOME%" 177 177 :: passing opt_properties is no longer necessary because ant.bat is unmodified (doesn't make use of it) 178 178 :: and because build.xml already contains the properties with the correct values -
main/trunk/greenstone3/gs3-server.bat
r30574 r30592 17 17 18 18 set USE_TMPDIR_FOR_TOMCAT= 19 for /F " tokens=1,2 delims==" %%G in (%GSDL3SRCHOME%\build.properties) do (19 for /F "usebackq tokens=1,2 delims==" %%G in ("%GSDL3SRCHOME%\build.properties") do ( 20 20 if "%%G"=="gsdl3home.isreadonly" set USE_TMPDIR_FOR_TOMCAT=%%H 21 21 ) -
main/trunk/greenstone3/gs3-setup.bat
r30574 r30592 40 40 :: Replace forward slashes in web.home with back slashes 41 41 :: http://scripts.dragon-it.co.uk/scripts.nsf/docs/batch-search-replace-substitute!OpenDocument&ExpandSection=3&BaseTarget=East&AutoFramed 42 if exist "!GSDL3SRCHOME!\build.properties" for /F " tokens=1,2 delims==" %%G in (!GSDL3SRCHOME!\build.properties) do (42 if exist "!GSDL3SRCHOME!\build.properties" for /F "usebackq tokens=1,2 delims==" %%G in ("!GSDL3SRCHOME!\build.properties") do ( 43 43 if "%%G"=="web.home" ( 44 44 set GSDL3HOME=%%H
Note:
See TracChangeset
for help on using the changeset viewer.