Changeset 36121 for main


Ignore:
Timestamp:
2022-03-17T14:18:30+13:00 (2 years ago)
Author:
kjdon
Message:

the ant file needs wget for downloading things (changed from ant get task to support https). wget is in winbin, but we get winbin later as part of collection building, so lets download wget at the start

File:
1 edited

Legend:

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

    r36119 r36121  
    10301030  <!-- ==================== Primary and Global Targets ============================= -->
    10311031
    1032   <target name="prepare" depends="accept-properties,init,copy-dot-svn-files,prepare-core,prepare-packages,prepare-common-src,prepare-collection-building,prepare-tomcat,prepare-axis,prepare-web,prepare-collections, prepare-flax,prepare-binaries"
     1032  <target name="prepare" depends="accept-properties,init,copy-dot-svn-files,prepare-core,prepare-packages,prepare-wget-for-windows,prepare-common-src,prepare-collection-building,prepare-tomcat,prepare-axis,prepare-web,prepare-collections, prepare-flax,prepare-binaries"
    10331033    description="Use this when you first checkout the code: 'ant prepare install'. This will do some additional subversion checkouts and downloads, so you need to be online to run this.">
    10341034
     
    34663466  <!-- these targets refer to the greenstone source packages - these need
    34673467  updating less often, so are in  separate targets to the core -->
     3468
     3469  <target name="prepare-wget-for-windows">
     3470    <exec executable="svn" osfamily="windows" dir="${basedir}/bin/windows">
     3471      <arg value="export"/>
     3472      <arg value="-r"/><arg value="${branch.revision}"/>
     3473      <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin/wget.exe"/>
     3474    </exec>
     3475    <exec executable="svn" osfamily="windows" dir="${basedir}/bin/windows">
     3476      <arg value="export"/>
     3477      <arg value="-r"/><arg value="${branch.revision}"/>
     3478      <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin/wgetrc"/>
     3479      <arg value="wgetrc"/>
     3480    </exec>
     3481
     3482  </target>
    34683483  <target name="prepare-packages" depends="init"/>
    34693484 
Note: See TracChangeset for help on using the changeset viewer.