Changeset 22160


Ignore:
Timestamp:
2010-05-24T12:04:09+12:00 (14 years ago)
Author:
sjm84
Message:

Versions less than 2.84 now have apache manually extracted

File:
1 edited

Legend:

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

    r22158 r22160  
    5454            <!-- get winbin from tags if the version is greater than 2.83 otherwise get it from trunk -->
    5555            <if><bool><not><available file="${basedir}/compiled/bin/windows"/></not></bool>
    56               <if>
    57                 <bool>
    58                 <and>
    59                     <not><equals arg1="${branch.path}" arg2="trunk"/></not>
    60                   <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
    61                 </and>
    62                 </bool>
    63                 <exec executable="svn">
    64                   <arg value="export"/>
    65                   <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin"/>
    66                   <arg value="${basedir}/compiled/bin/windows"/>
    67                   <arg value="-r"/>
    68                   <arg value="${branch.revision}"/>
    69                 </exec>
    70                 <else>
    71                   <exec executable="svn">
    72                 <arg value="export"/>
    73                 <arg value="${svn.root}/main/trunk/binaries/windows/bin"/>
    74                 <arg value="${basedir}/compiled/bin/windows"/>
    75                 <arg value="-r"/>
    76                 <arg value="${branch.revision}"/>
    77                   </exec>
    78                 </else>
    79               </if>
     56                <if>
     57                    <bool>
     58                    <and>
     59                        <not><equals arg1="${branch.path}" arg2="trunk"/></not>
     60                        <isgreaterthan arg1="${branch.tag.version}" arg2="2.83"/>
     61                    </and>
     62                    </bool>
     63                   
     64                    <exec executable="svn">
     65                        <arg value="export"/>
     66                        <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin"/>
     67                        <arg value="${basedir}/compiled/bin/windows"/>
     68                        <arg value="-r"/>
     69                        <arg value="${branch.revision}"/>
     70                    </exec>
     71                   
     72                    <else>
     73                        <exec executable="svn">
     74                            <arg value="export"/>
     75                            <arg value="${svn.root}/main/trunk/binaries/windows/bin"/>
     76                            <arg value="${basedir}/compiled/bin/windows"/>
     77                            <arg value="-r"/>
     78                            <arg value="${branch.revision}"/>
     79                        </exec>
     80                    </else>
     81                </if>
    8082            </if>
    8183
    8284            <!-- insert windows perl -->
    8385            <unzip src="${rk.home}/shared/windows/perl.zip" dest="compiled/bin/windows"/>
    84 
     86           
     87            <if>
     88                <bool>
     89                    <and>
     90                        <not><equals arg1="${branch.path}" arg2="trunk"/></not>
     91                        <islessthan arg1="${branch.tag.version}" arg2="2.84"/>
     92                    </and>
     93                </bool>
     94               
     95                <exec executable="${basedir}/compiled/bin/windows/gunzip.exe" dir="${basedir}/compiled/runtime-src/packages/apache-httpd">
     96                    <arg value="-d"/>
     97                    <arg value="httpd-2.2.11-gs.tar.gz"/>
     98                </exec>
     99               
     100                <exec executable="${basedir}/compiled/bin/windows/tar.exe" dir="${basedir}/compiled/runtime-src/packages/apache-httpd">
     101                    <arg value="-xvf"/>
     102                    <arg value="httpd-2.2.11-gs.tar"/>
     103                </exec>
     104            </if>
     105           
    85106            <!-- compile c code -->
    86107            <exec dir="${basedir}/compiled" executable="nmake"><arg value="/f"/><arg value="win32.mak"/><arg value="clean"/></exec>
     
    237258            <delete dir="${binzip.dir}/build-src"/>
    238259            <delete dir="${binzip.dir}/runtime-src"/>
    239 
     260           
    240261            <!-- create simple zipped binary distribution
    241262            <mkdir dir="distributions"/>
Note: See TracChangeset for help on using the changeset viewer.