Ignore:
Timestamp:
2011-01-05T12:56:10+13:00 (13 years ago)
Author:
sjm84
Message:

Several release-kit improvements, including the ability to create x64 bit releases by setting x64:true in the rk2-build.properties file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk2/ant-scripts/compile.xml

    r23493 r23525  
    77            <bool>
    88                <or>
    9                     <equals arg1="${branch.path}" arg2="trunk"/>
    10                     <equals arg1="${branch.path}" arg2="tags/stable"/>
    11                     <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     9                    <equals arg1="${post.2.83.version}" arg2="true"/>
    1210                </or>
    1311            </bool>
     
    5351            <!-- checkout the gnome support library extension-->
    5452            <if><bool><or>
    55                 <equals arg1="${branch.path}" arg2="trunk"/>
    56                 <equals arg1="${branch.path}" arg2="tags/stable"/>
    57                 <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     53                  <equals arg1="${post.2.83.version}" arg2="true"/>
    5854            </or></bool>
    5955                <!-- Check out the pre-compiled version of the gnome-lib extension rather than compiling it from scratch -->
     
    6157                <exec executable="svn">
    6258                    <arg value="export"/>
    63                     <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/gnome-lib-${os.shell}.tar.gz"/>
     59                    <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/gnome-lib-${os.shell}${extension-x64}.tar.gz"/>
    6460                    <arg value="${basedir}/compiled/ext/gnome-lib-${os.shell}.tar.gz"/>
    6561                </exec>
     
    8682            <!-- unzip expat if the version is less that 2.84 -->
    8783            <if><bool><and>
    88                 <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    89                 <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    90                 <islessthan arg1="${branch.tag.version}" arg2="2.84"/>
     84                  <equals arg1="${post.2.83.version}" arg2="false"/>
    9185            </and></bool>
    9286                <unzip src="${basedir}/compiled/common-src/packages/windows/expat/expat.zip" dest="${basedir}/compiled/common-src/packages/windows/expat"/>
     
    10094            <if><bool><not><available file="${basedir}/compiled/bin/windows"/></not></bool>
    10195                <if><bool><and>
    102                     <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    103                     <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    104                     <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     96                      <equals arg1="${post.2.83.version}" arg2="true"/>
    10597                </and></bool>
    10698                   
     
    384376        <else><if><bool><equals arg1="${rk.os}" arg2="linux"/></bool>
    385377
    386             <!-- grab imagemagick and wv binaries -->
     378            <!-- grab imagemagick and wv (if less than 2.84) binaries -->
    387379            <delete dir="compiled/bin/linux/imagemagick"/>
    388380
    389381            <if><bool><or>
    390                 <equals arg1="${branch.path}" arg2="trunk"/>
    391                 <equals arg1="${branch.path}" arg2="tags/stable"/>
    392                 <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     382                  <equals arg1="${post.2.83.version}" arg2="true"/>
    393383            </or></bool>
    394384                <exec executable="svn">
     
    428418
    429419            <if><bool><and>
    430                 <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    431                 <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    432                 <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     420                  <equals arg1="${post.2.83.version}" arg2="true"/>
    433421            </and></bool>
    434422
     
    480468
    481469            <if><bool><and>
    482                 <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    483                 <not><equals arg1="${branch.path}" arg2="tags/stable"/></not>
    484                 <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     470                  <equals arg1="${post.2.83.version}" arg2="true"/>
    485471            </and></bool>
    486472                <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/>
Note: See TracChangeset for help on using the changeset viewer.