Changeset 23645 for main/trunk/release-kits/kits/rk2
- Timestamp:
- 2011-01-27T16:21:08+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk2/ant-scripts/compile.xml
r23644 r23645 4 4 <target name="compile" depends="init,gs2-init"> 5 5 <!-- checkout greenstone2 (or gsdl if a pre-2.84 release is being created) and gli --> 6 <if> 7 <bool> 8 <or> 9 <equals arg1="${post.2.83.version}" arg2="true"/> 10 </or> 11 </bool> 6 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 12 7 <exec executable="svn"> 13 8 <arg value="checkout"/> … … 49 44 <!-- mac or linux: get the support library --> 50 45 <if><bool><or><equals arg1="${rk.os}" arg2="mac"/><equals arg1="${rk.os}" arg2="linux"/></or></bool> 51 <!-- checkout the gnome support library extension--> 52 <if><bool><or> 53 <equals arg1="${post.2.83.version}" arg2="true"/> 54 </or></bool> 55 <!-- Check out the pre-compiled version of the gnome-lib extension rather than compiling it from scratch --> 46 <!-- svn export the gnome support library extension--> 47 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 56 48 <echo>EXPORTING GNOME LIB EXTENSION</echo> 57 49 <exec executable="svn"> … … 103 95 104 96 <!-- unzip expat if the version is less that 2.84 --> 105 <if><bool><and> 106 <equals arg1="${post.2.83.version}" arg2="false"/> 107 </and></bool> 97 <if><bool><equals arg1="${post.2.83.version}" arg2="false"/></bool> 108 98 <unzip src="${basedir}/compiled/common-src/packages/windows/expat/expat.zip" dest="${basedir}/compiled/common-src/packages/windows/expat"/> 109 99 </if> … … 115 105 <!-- get winbin from tags if the version is greater than 2.83 otherwise get it from trunk --> 116 106 <if><bool><not><available file="${basedir}/compiled/bin/windows"/></not></bool> 117 <if><bool><and> 118 <equals arg1="${post.2.83.version}" arg2="true"/> 119 </and></bool> 107 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 120 108 121 109 <exec executable="svn"> … … 232 220 </if> 233 221 234 <!-- Delete the entire gnome support library on Linux --> 235 <if><bool><equals arg1="${rk.os}" arg2="linux"/></bool> 236 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal"/> 237 <delete file="${basedir}/compiled/ext/gnome-lib-minimal-linux.tar.gz"/> 238 </if> 239 240 <!-- Delete all but the lib folder and the setup.bash script of the gnome support library on Mac --> 241 <if><bool><equals arg1="${rk.os}" arg2="mac"/></bool> 242 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/cascade-make"/> 243 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/packages"/> 244 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/darwin/bin"/> 245 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/darwin/etc"/> 246 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/darwin/include"/> 222 <!-- Delete all but the lib folder and the setup.bash script of the gnome support library --> 223 <if><bool><or><equals arg1="${rk.os}" arg2="mac"/><equals arg1="${rk.os}" arg2="linux"/></or></bool> 224 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/${os.shell}/bin"/> 225 <delete dir="${basedir}/compiled/ext/gnome-lib-minimal/${os.shell}/include"/> 247 226 <delete file="${basedir}/compiled/ext/gnome-lib-minimal/setup.bat"/> 248 <delete file="${basedir}/compiled/ext/gnome-lib-minimal/ CASCADE-MAKE.sh"/>249 <delete file="${basedir}/compiled/ext/gnome-lib-minimal- darwin.tar.gz"/>250 </if> 251 227 <delete file="${basedir}/compiled/ext/gnome-lib-minimal/devel.bash"/> 228 <delete file="${basedir}/compiled/ext/gnome-lib-minimal-${os.shell}.tar.gz"/> 229 </if> 230 252 231 <!-- insert the necessary additional xml parser versions--> 253 232 <if><bool><equals arg1="${rk.os}" arg2="linux"/></bool> … … 294 273 <!-- build demo collection --> 295 274 <!-- the envs on these execs simulate the environment when you run setup.bat --> 296 <if> 297 <bool> 298 <equals arg1="${rk.os}" arg2="windows"/> 299 </bool> 275 <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool> 300 276 301 277 <exec dir="${basedir}/compiled" executable="${basedir}/compiled/bin/windows/perl/bin/perl"> … … 378 354 <delete dir="compiled/bin/linux/imagemagick"/> 379 355 380 <if><bool><or> 381 <equals arg1="${post.2.83.version}" arg2="true"/> 382 </or></bool> 356 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 383 357 <if><bool><equals arg1="${x64}" arg2="true"/></bool> 384 358 <exec executable="svn"> … … 430 404 <delete dir="compiled/bin/darwin/ghostscript"/> 431 405 432 <if><bool><and> 433 <equals arg1="${post.2.83.version}" arg2="true"/> 434 </and></bool> 406 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 435 407 436 408 <exec executable="svn"> … … 480 452 <get src="${server.exe.location}" dest="compiled/bin/windows/server.exe"/> 481 453 482 <if><bool><and> 483 <equals arg1="${post.2.83.version}" arg2="true"/> 484 </and></bool> 454 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 485 455 <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/> 486 456 <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>
Note:
See TracChangeset
for help on using the changeset viewer.