Changeset 28907

Show
Ignore:
Timestamp:
17.03.2014 12:16:01 (6 years ago)
Author:
kjdon
Message:

moved gsdl3site.cfg.in file to resources/cgi. On prepare it's copied to resources/cgi/gsdl3site.cfg, then on tomcat start its copied with filtering to web/WEB_INF/cgi

Location:
main/trunk/greenstone3
Files:
1 added
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r28906 r28907  
    951951    </if> 
    952952    <copy file="${basedir}/resources/oai/OAIConfig.xml.in" tofile="${basedir}/resources/oai/OAIConfig.xml"  overwrite="true"/> 
     953    <if><bool><available file="${basedir}/resources/cgi/gsdl3site.cfg"/></bool> 
     954      <copy file="${basedir}/resources/cgi/gsdl3site.cfg" tofile="${basedir}/resources/cgi/gsdl3site.cfg.backup" overwrite="true"/> 
     955    </if> 
     956    <copy file="${basedir}/resources/cgi/gsdl3site.cfg.in" tofile="${basedir}/resources/cgi/gsdl3site.cfg" overwrite="true"/> 
    953957 
    954958  </target> 
     
    11801184    <filter token="perlpath" value="${escaped.perl.path}"/> 
    11811185    <filter token="disable.collection.building" value="${disable.collection.building}"/> 
    1182     <copy file="${web.home}/WEB-INF/cgi/gsdl3site.cfg.in" tofile="${web.writablehome}/WEB-INF/cgi/gsdl3site.cfg" filtering="true" overwrite="true"/> 
    1183  
     1186    <copy file="${basedir}/resources/cgi/gsdl3site.cfg" tofile="${web.writablehome}/WEB-INF/cgi/gsdl3site.cfg" filtering="true" overwrite="true"/> 
    11841187    <copy file="${basedir}/resources/java/global.properties.in" tofile="${web.writableclasses}/global.properties" filtering="true" overwrite="true"/> 
    11851188    <copy file="${basedir}/resources/java/log4j.properties.in" tofile="${web.writableclasses}/log4j.properties" filtering="true" overwrite="true"/>