Changeset 35320


Ignore:
Timestamp:
2021-08-23T13:56:36+12:00 (3 years ago)
Author:
davidb
Message:

Curently removed using 'force=true' from <copy> element, as release kit is using ant v.1.8.1, however this attribute is not supported until v1.8.2

File:
1 edited

Legend:

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

    r35318 r35320  
    1414  -->
    1515
    16   <!-- Need to be using ant v1.8.2+ to support the 'force="true"' attribute in the file <copy> flag -->
     16  <!-- Need to increase minimum ant version to be v1.8.2, to support the 'force="true"' attribute in the file <copy> flag.
     17       This change is needed to allow running Greenstone3 as a service as another user (e.g. user=www=data).
     18       Not currently able to do this, as the release kit is currently using v1.8.1 and so fails if the value below
     19       is changed to 1.8.2.
     20  -->
    1721  <antversion property="ant.version.running" /> 
    1822  <fail message="Minimum of Ant v1.8.1 required to operate Greenstone3 (detected version ${ant.version.running})">
     
    17611765    <filter token="disable.collection.building" value="${disable.collection.building}"/>
    17621766    <copy file="${basedir}/resources/cgi/gsdl3site.cfg.in" tofile="${web.writablehome}/WEB-INF/cgi/gsdl3site.cfg" filtering="true" overwrite="true"/>
    1763     <copy file="${basedir}/resources/web/global.properties.in" tofile="${web.writableclasses}/global.properties" filtering="true" overwrite="true" force="true"/>
    1764     <copy file="${basedir}/resources/web/log4j.properties.in" tofile="${web.writableclasses}/log4j.properties" filtering="true" overwrite="true" force="true"/>
     1767    <copy file="${basedir}/resources/web/global.properties.in" tofile="${web.writableclasses}/global.properties" filtering="true" overwrite="true"/>
     1768    <copy file="${basedir}/resources/web/log4j.properties.in" tofile="${web.writableclasses}/log4j.properties" filtering="true" overwrite="true"/>
    17651769    <if>
    17661770      <bool><istrue value="${gsdl3home.isreadonly}"/></bool>
     
    17711775    <chmod file="${web.writableclasses}/log4j.properties" perm="664"/>
    17721776
    1773     <copy file="${basedir}/resources/iiif/cantaloupe.properties.in" tofile="${basedir}/cantaloupe.properties" filtering="true" overwrite="true" force="true"/>
     1777    <copy file="${basedir}/resources/iiif/cantaloupe.properties.in" tofile="${basedir}/cantaloupe.properties" filtering="true" overwrite="true"/>
    17741778    <chmod file="${basedir}/cantaloupe.properties" perm="664"/>
    17751779  </target>
     
    24392443    </exec>
    24402444
    2441     <copy file="${basedir}/ext/solr/solr-tomcat-context.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/solr.xml" overwrite="true" force="true">
     2445    <copy file="${basedir}/ext/solr/solr-tomcat-context.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/solr.xml" overwrite="true">
    24422446      <filterset>
    24432447    <filter token="solr.context" value="${solr.context}"/>
     
    24522456        <copy file="${basedir}/resources/tomcat/greenstone3.xml.in" tofile="${basedir}/resources/tomcat/${greenstone.context}.xml.in" overwrite="true"/>
    24532457    </if>
    2454     <copy file="${basedir}/resources/tomcat/${greenstone.context}.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/${greenstone.context}.xml" overwrite="true" force="true">
     2458    <copy file="${basedir}/resources/tomcat/${greenstone.context}.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/${greenstone.context}.xml" overwrite="true">
    24552459      <filterset>
    24562460        <filter token="gsdl3webhome" value="${web.home}"/>
Note: See TracChangeset for help on using the changeset viewer.