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

Last change on this file since 19154 was 19154, checked in by oranfry, 15 years ago

import the linux targets to these release kits

File size: 2.4 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
[16772]14 <!-- the amount extra space to allocate in the dmgs in (KB) -->
15 <property name="dmg.overhead" value="4096"/>
16
[16171]17 <!-- for the benefit of the shared scripts, set release-kit home -->
[17898]18 <property name="rk.name" value="mark3"/>
[16655]19 <property name="rk.home" value="${mark3.home}" />
[16744]20 <property name="rk.os" value="linux" />
[17898]21 <!-- os.suffix set dynamically below -->
[16171]22
23 <!-- IMPORT OTHER ANT SCRIPTS -->
[19006]24 <import file="../core/ant-scripts/init.xml"/>
25 <import file="../core/ant-scripts/operations-on-gli.xml"/>
[16744]26 <import file="../greenstone3/ant-scripts/rk3-targets.xml"/>
[19154]27 <import file="../linux/ant-scripts/linux-targets.xml"/>
[14982]28 <import file="compile.xml"/>
29 <import file="create-distribution.xml"/>
[17454]30 <import file="create-components.xml"/>
[14982]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
[17597]49 <property name="os.suffix" value="MacOS-${processor}"/>
50
[16171]51 <!-- THE MAIN TARGET -->
[16655]52 <target name="mark3" depends="init,mark3-init">
[16744]53 <antcall target="compile"/>
54 <antcall target="create-distribution"/>
[17454]55 <antcall target="create-components"/>
[16744]56 <antcall target="create-installer"/>
57 <antcall target="wrap"/>
[14982]58 </target>
59
[19039]60 <target name="properties">
61 <echo>Required Properties:</echo>
62 <echo>version the version string for the release</echo>
63 <echo>processor the processor type of the release. Allowed Values: 'ppc', 'intel'.</echo>
64 <echo/>
65
66 <echo>Optional Properties:</echo>
67 <echo>branch.path the branch of Greenstone3 to make a release of. Eg: tags/2.81. Default: trunk.</echo>
68 <echo>branch.revision the revision of Greenstone3 to make a release of. Eg: 18273. Default: HEAD.</echo>
69 <echo/>
70 </target>
71
72
[14982]73</project>
Note: See TracBrowser for help on using the repository browser.