- Timestamp:
- 2021-08-21T16:46:31+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r35312 r35317 13 13 <echo>os.version: ${os.version}</echo> 14 14 --> 15 16 <antversion property="ant.version.running" /> 17 <fail message="Minimum of Ant v1.7.1 required to operate Greenstone3 (detected version ${ant.version.running})"> 18 <condition> 19 <not><antversion atleast="1.7.1" /></not> 15 16 <!-- Need to be using ant v1.8.2+ to support the 'force="true"' attribute in the file <copy> flag --> 17 <antversion property="ant.version.running" /> 18 <fail message="Minimum of Ant v1.8.2 required to operate Greenstone3 (detected version ${ant.version.running})"> 19 <condition> 20 <not><antversion atleast="1.8.2" /></not> 20 21 </condition> 21 22 </fail> … … 1760 1761 <filter token="disable.collection.building" value="${disable.collection.building}"/> 1761 1762 <copy file="${basedir}/resources/cgi/gsdl3site.cfg.in" tofile="${web.writablehome}/WEB-INF/cgi/gsdl3site.cfg" filtering="true" overwrite="true"/> 1762 <copy file="${basedir}/resources/web/global.properties.in" tofile="${web.writableclasses}/global.properties" filtering="true" overwrite="true" />1763 <copy file="${basedir}/resources/web/log4j.properties.in" tofile="${web.writableclasses}/log4j.properties" 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"/> 1764 1765 <if> 1765 1766 <bool><istrue value="${gsdl3home.isreadonly}"/></bool> … … 1767 1768 <rsr verbosity="1" file="${web.writableclasses}/global.properties" pattern="^#gsdl3\.(writable{1})?home" replacement="gsdl3.$1home" /> 1768 1769 </if> 1769 <chmod file="${web.writableclasses}/global.properties" perm="6 44"/>1770 <chmod file="${web.writableclasses}/log4j.properties" perm="6 44"/>1771 1772 <copy file="${basedir}/resources/iiif/cantaloupe.properties.in" tofile="${basedir}/cantaloupe.properties" filtering="true" overwrite="true" />1773 <chmod file="${basedir}/cantaloupe.properties" perm="6 44"/>1770 <chmod file="${web.writableclasses}/global.properties" perm="664"/> 1771 <chmod file="${web.writableclasses}/log4j.properties" perm="664"/> 1772 1773 <copy file="${basedir}/resources/iiif/cantaloupe.properties.in" tofile="${basedir}/cantaloupe.properties" filtering="true" overwrite="true" force="true"/> 1774 <chmod file="${basedir}/cantaloupe.properties" perm="664"/> 1774 1775 </target> 1775 1776 … … 2438 2439 </exec> 2439 2440 2440 <copy file="${basedir}/ext/solr/solr-tomcat-context.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/solr.xml" overwrite="true" >2441 <copy file="${basedir}/ext/solr/solr-tomcat-context.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/solr.xml" overwrite="true" force="true"> 2441 2442 <filterset> 2442 2443 <filter token="solr.context" value="${solr.context}"/> … … 2451 2452 <copy file="${basedir}/resources/tomcat/greenstone3.xml.in" tofile="${basedir}/resources/tomcat/${greenstone.context}.xml.in" overwrite="true"/> 2452 2453 </if> 2453 <copy file="${basedir}/resources/tomcat/${greenstone.context}.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/${greenstone.context}.xml" overwrite="true" >2454 <copy file="${basedir}/resources/tomcat/${greenstone.context}.xml.in" tofile="${packages.home}/tomcat/conf/Catalina/localhost/${greenstone.context}.xml" overwrite="true" force="true"> 2454 2455 <filterset> 2455 2456 <filter token="gsdl3webhome" value="${web.home}"/>
Note:
See TracChangeset
for help on using the changeset viewer.