Changeset 34533


Ignore:
Timestamp:
11/16/20 10:33:50 (3 weeks ago)
Author:
ak19
Message:

First build.xml commit following Kathy's suggestion: ant prepare should get prebuilt (GS2 built) yaz-client and put it into the specified location. Only 64 bit yaz client committed so far. The target works, still to test whether the binary produced will conain the yaz client and whether the yaz-client works in final binary (Kathy's actually tested that in an svn version).

File:
1 edited

Legend:

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

    r34530 r34533  
    930930  <!-- ==================== Primary and Global Targets ============================= -->
    931931
    932   <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"
     932  <target name="prepare" depends="accept-properties,init,copy-dot-svn-files,prepare-core,prepare-packages,prepare-common-src,prepare-binaries,prepare-collection-building,prepare-tomcat,prepare-axis,prepare-web,prepare-collections, prepare-flax"
    933933    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.">
    934934
     
    32093209  </target>
    32103210
     3211  <target name="prepare-binaries" depends="prepare-bins-linux"/>
     3212
     3213  <target name="prepare-bins-linux" depends="init" if="current.os.isunixnotmac">
     3214    <condition property="bitness.suffix" value="64" else="32">
     3215      <matches string="${os.arch}" pattern="64"/>
     3216    </condition>
     3217    <exec executable="svn" dir="${gs2build.home}/bin/linux">
     3218      <arg value="export"/>
     3219      <arg value="-r"/><arg value="${branch.revision}"/>
     3220      <arg value="${svn.root}/main/${branch.path}/binaries/linux/yaz/yaz-client-x${bitness.suffix}"/>
     3221      <arg value="yaz-client"/>
     3222    </exec>
     3223  </target>
    32113224 
    32123225  <target name="configure-packages" depends="init,configure-javagdbm"
Note: See TracChangeset for help on using the changeset viewer.