Changeset 22160
- Timestamp:
- 2010-05-24T12:04:09+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk2/ant-scripts/compile.xml
r22158 r22160 54 54 <!-- get winbin from tags if the version is greater than 2.83 otherwise get it from trunk --> 55 55 <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> 80 82 </if> 81 83 82 84 <!-- insert windows perl --> 83 85 <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 85 106 <!-- compile c code --> 86 107 <exec dir="${basedir}/compiled" executable="nmake"><arg value="/f"/><arg value="win32.mak"/><arg value="clean"/></exec> … … 237 258 <delete dir="${binzip.dir}/build-src"/> 238 259 <delete dir="${binzip.dir}/runtime-src"/> 239 260 240 261 <!-- create simple zipped binary distribution 241 262 <mkdir dir="distributions"/>
Note:
See TracChangeset
for help on using the changeset viewer.