Changeset 30532 for gs3-extensions


Ignore:
Timestamp:
2016-05-12T20:07:45+12:00 (8 years ago)
Author:
ak19
Message:

Filepath fix for spaces wasn't a fix but broke functioning of the setup file: would not retrieve tomcat port number after the intended fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/gs3-setup.bat

    r30400 r30532  
    1616:: Loosely based on
    1717:: http://stackoverflow.com/questions/7708681/how-to-read-from-a-properties-file-using-batch-script
    18 FOR /F "tokens=1,2 delims==" %%G IN ("%GSDL3SRCHOME%\build.properties") DO (
     18FOR /F "tokens=1,2 delims==" %%G IN (%GSDL3SRCHOME%\build.properties) DO (
    1919    if "%%G"=="tomcat.server" set SOLR_HOST=%%H
    2020    if "%%G"=="tomcat.port" set SOLR_PORT=%%H
Note: See TracChangeset for help on using the changeset viewer.