Changeset 35320
- Timestamp:
- 2021-08-23T13:56:36+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r35318 r35320 14 14 --> 15 15 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 --> 17 21 <antversion property="ant.version.running" /> 18 22 <fail message="Minimum of Ant v1.8.1 required to operate Greenstone3 (detected version ${ant.version.running})"> … … 1761 1765 <filter token="disable.collection.building" value="${disable.collection.building}"/> 1762 1766 <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"/> 1765 1769 <if> 1766 1770 <bool><istrue value="${gsdl3home.isreadonly}"/></bool> … … 1771 1775 <chmod file="${web.writableclasses}/log4j.properties" perm="664"/> 1772 1776 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"/> 1774 1778 <chmod file="${basedir}/cantaloupe.properties" perm="664"/> 1775 1779 </target> … … 2439 2443 </exec> 2440 2444 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"> 2442 2446 <filterset> 2443 2447 <filter token="solr.context" value="${solr.context}"/> … … 2452 2456 <copy file="${basedir}/resources/tomcat/greenstone3.xml.in" tofile="${basedir}/resources/tomcat/${greenstone.context}.xml.in" overwrite="true"/> 2453 2457 </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"> 2455 2459 <filterset> 2456 2460 <filter token="gsdl3webhome" value="${web.home}"/>
Note:
See TracChangeset
for help on using the changeset viewer.