source: release-kits/mark3/ant-scripts/build.xml@ 16772

Last change on this file since 16772 was 16772, checked in by oranfry, 16 years ago

fixes to mark3

File size: 1.7 KB
RevLine 
[14982]1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 ..........................................................
[16655]4 July 2008
5 Mac Release Kit for Greenstone3 (mark3)
[14982]6 Oran Fry
7 ..........................................................
8-->
9
[16655]10<project name="mark3-build" default="mark3">
[14982]11
[16171]12 <!-- CONSTANTS -->
[14982]13
[16171]14 <!-- the version numbers of bundled things -->
15 <property name="bundled.version.tomcat" value="5.5.25"/>
16 <property name="bundled.version.ant" value="1.6.5"/>
17
[16772]18 <!-- the amount extra space to allocate in the dmgs in (KB) -->
19 <property name="dmg.overhead" value="4096"/>
20
[16171]21 <!-- for the benefit of the shared scripts, set release-kit home -->
[16655]22 <property name="rk.home" value="${mark3.home}" />
[16744]23 <property name="rk.os" value="linux" />
[16171]24
25 <!-- IMPORT OTHER ANT SCRIPTS -->
26 <import file="shared-ant-scripts/init.xml"/>
[16754]27 <import file="shared-ant-scripts/operations-on-gli.xml"/>
[16744]28 <import file="../greenstone3/ant-scripts/rk3-targets.xml"/>
[14982]29 <import file="compile.xml"/>
30 <import file="create-distribution.xml"/>
31 <import file="create-installer.xml"/>
32 <import file="wrap.xml"/>
33
[16655]34 <!-- TARGET TO PERFORM ADDITIONAL PRECONDITION CHECKS -->
35 <target name="mark3-init">
36 <if>
37 <bool>
38 <or><equals arg1="${processor}" arg2="ppc" /><equals arg1="${processor}" arg2="intel"/></or>
39 </bool>
40
41 <else>
42 <echo>Processor type not set or set wrongly. Please set the property 'processor' to either 'intel' or 'ppc' in build.properties</echo>
43 <fail>Processor not set</fail>
44 </else>
45 </if>
[16744]46 <echo>Processor: ${processor}</echo>
[16655]47 </target>
48
[16171]49 <!-- THE MAIN TARGET -->
[16655]50 <target name="mark3" depends="init,mark3-init">
[16744]51 <antcall target="compile"/>
52 <antcall target="create-distribution"/>
53 <antcall target="create-installer"/>
54 <antcall target="wrap"/>
[14982]55 </target>
56
57</project>
Note: See TracBrowser for help on using the repository browser.