Ignore:
Timestamp:
2020-12-16T18:35:28+13:00 (3 years ago)
Author:
anupama
Message:

Didn't see that Kathy had changed gsroot to community machine. Have put it back to greenstone.org since this commit switches ant get tasks over to ant exec tasks using GS compiled wget which has https support. So we are not dependent on http urls. Still need to update all the affected release kits files.

File:
1 edited

Legend:

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

    r34602 r34605  
    500500  <!--constants -->
    501501  <property name="svn.root" value="https://svn.greenstone.org"/>
    502   <property name="gsorg.root" value="http://community.nzdl.org"/>
     502  <property name="gsorg.root" value="https://www.greenstone.org"/>
     503  <!--<property name="gsorg.root" value="http://community.nzdl.org"/>-->
    503504
    504505  <!-- catalina home is set to tomcat basedir if already installed, otherwise
     
    15951596      <echo>Bitness: ${uname.val}</echo>
    15961597      <if><bool><contains string="${os.bin.dir}" substring="darwin" casesensitive="false"/></bool>
    1597     <!--<get src="${gsorg.root}/caveat-emptor/IsisGdl.macleopard"-->
    1598     <get src="${gsorg.root}/gs3files/IsisGdl.macleopard"
    1599              dest="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>   
     1598    <!--<get src="${gsorg.root}/caveat-emptor/IsisGdl.macleopard"
     1599             dest="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>-->
     1600    <exec executable="wget" failonerror="true">
     1601      <arg value="-P"/>
     1602      <arg value="${basedir}/gs2build/bin/${os.bin.dir}"/>
     1603      <arg value="--no-check-certificate"/>
     1604      <arg value="${gsorg.root}/caveat-emptor/IsisGdl.macleopard"/>
     1605    </exec>
     1606    <move file="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl.macleopard"
     1607          tofile="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>
    16001608      </if>
    16011609      <if><bool><contains string="${os.bin.dir}" substring="linux" casesensitive="false"/></bool>
    1602     <!--<get src="${gsorg.root}/caveat-emptor/IsisGdl.bin32"-->
    1603     <get src="${gsorg.root}/gs3files/IsisGdl.bin32"
    1604              dest="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>
     1610    <!--<get src="${gsorg.root}/caveat-emptor/IsisGdl.bin32"
     1611             dest="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>-->
     1612    <exec executable="wget" failonerror="true">
     1613      <arg value="-P"/>
     1614      <arg value="${basedir}/gs2build/bin/${os.bin.dir}"/>
     1615      <arg value="--no-check-certificate"/>
     1616      <arg value="${gsorg.root}/caveat-emptor/IsisGdl.bin32"/>
     1617    </exec>
     1618    <move file="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl.bin32"
     1619          tofile="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>
    16051620      </if>
    16061621      <chmod file="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl" perm="755"/>
     
    22342249      <!-- check that packages dir is there -->
    22352250      <mkdir dir="${packages.home}"/>
     2251      <!--
    22362252      <get src="${gsorg.root}/gs3files/${tomcat.version}.zip"
    22372253        dest="${packages.home}/${tomcat.version}.zip"
    22382254        usetimestamp="true"/>
     2255      -->
     2256      <exec executable="wget" failonerror="true">
     2257    <arg value="-P"/><!-- specifying output dir, also: minus-minus-directory-prefix -->
     2258    <arg value="${packages.home}"/>
     2259    <arg value="--no-check-certificate"/>
     2260    <arg value="${gsorg.root}/gs3files/${tomcat.version}.zip"/>
     2261      </exec>
    22392262      <unzip src="${packages.home}/${tomcat.version}.zip"
    2240         dest="${packages.home}"/>
     2263             dest="${packages.home}"/>
    22412264     
    22422265      <!-- If we are using Java 1.4, we'd be using tomcat 5.5 in which case
     
    22442267      <if>
    22452268    <bool><equals arg1="1.4" arg2="${ant.java.version}"/></bool>
     2269    <!--
    22462270    <get src="${gsorg.root}/gs3files/${tomcat.version}-compat.zip"
    22472271      dest="${packages.home}/${tomcat.version}-compat.zip"
    22482272      usetimestamp="true"/>
     2273      -->
     2274    <exec executable="wget" failonerror="true">
     2275      <arg value="-P"/>
     2276      <arg value="${packages.home}"/>
     2277      <arg value="--no-check-certificate"/>
     2278      <arg value="${gsorg.root}/gs3files/${tomcat.version}-compat.zip"/>
     2279    </exec>
    22492280    <unzip src="${packages.home}/${tomcat.version}-compat.zip"
    22502281      dest="${packages.home}"/>
     
    27552786      </bool>
    27562787      <property name="ant.download.version" value="apache-ant-1.9.13" />
     2788      <!--
    27572789      <get src="${gsorg.root}/gs3files/${ant.download.version}-bin.zip"
    27582790        dest="${packages.home}/${ant.download.version}-bin.zip"
    27592791        usetimestamp="true"/>
     2792      -->
     2793      <exec executable="wget" failonerror="true">
     2794    <arg value="-P"/>
     2795    <arg value="${packages.home}"/>
     2796    <arg value="--no-check-certificate"/>
     2797    <arg value="${gsorg.root}/gs3files/${ant.download.version}-bin.zip"/>
     2798      </exec>
    27602799      <unzip src="${packages.home}/${ant.download.version}-bin.zip"
    27612800        dest="${packages.home}"/>
     
    28712910      </bool>
    28722911
     2912      <!--
    28732913      <get src="${gsorg.root}/gs3files/${axis.zip.version}"
    28742914        dest="${packages.home}/${axis.zip.version}"
    28752915        usetimestamp="true"/>
     2916      -->
     2917      <exec executable="wget" failonerror="true">
     2918    <arg value="-P"/><!-- output dir, alt: minus-minus-directory-prefix -->
     2919    <arg value="${packages.home}"/>
     2920    <arg value="--no-check-certificate"/>
     2921    <arg value="${gsorg.root}/gs3files/${axis.zip.version}"/>
     2922      </exec>
    28762923      <unzip src="${packages.home}/${axis.zip.version}"
    28772924        dest="${packages.home}"/>
Note: See TracChangeset for help on using the changeset viewer.