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

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

Standardised names of directories used in release kits

  • gsdl and greenstone3 -> compiled
  • distribution and distributions -> distributions
  • greenstone3 and web -> web

And, expect more specifically named properties files, e.g., lirk3-build.properties, wirk2-build.properties

File size: 1.8 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 -->
24 <import file="shared-ant-scripts/init.xml"/>
[16754]25 <import file="shared-ant-scripts/operations-on-gli.xml"/>
[16744]26 <import file="../greenstone3/ant-scripts/rk3-targets.xml"/>
[14982]27 <import file="compile.xml"/>
28 <import file="create-distribution.xml"/>
[17454]29 <import file="create-components.xml"/>
[14982]30 <import file="create-installer.xml"/>
31 <import file="wrap.xml"/>
32
[16655]33 <!-- TARGET TO PERFORM ADDITIONAL PRECONDITION CHECKS -->
34 <target name="mark3-init">
35 <if>
36 <bool>
37 <or><equals arg1="${processor}" arg2="ppc" /><equals arg1="${processor}" arg2="intel"/></or>
38 </bool>
39
40 <else>
41 <echo>Processor type not set or set wrongly. Please set the property 'processor' to either 'intel' or 'ppc' in build.properties</echo>
42 <fail>Processor not set</fail>
43 </else>
44 </if>
[16744]45 <echo>Processor: ${processor}</echo>
[16655]46 </target>
47
[17597]48 <property name="os.suffix" value="MacOS-${processor}"/>
49
[16171]50 <!-- THE MAIN TARGET -->
[16655]51 <target name="mark3" depends="init,mark3-init">
[16744]52 <antcall target="compile"/>
53 <antcall target="create-distribution"/>
[17454]54 <antcall target="create-components"/>
[16744]55 <antcall target="create-installer"/>
56 <antcall target="wrap"/>
[14982]57 </target>
58
59</project>
Note: See TracBrowser for help on using the repository browser.