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

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

added the uninstaller to all release kits

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