root/main/trunk/release-kits/kits/rk3/ant-scripts/build.xml @ 21650

Revision 21650, 1.4 KB (checked in by oranfry, 10 years ago)

tidied up the source code release-kits

Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3        ..........................................................
4        August 2009
5        Release Kit for Greenstone3 (rk3)
6        Oran Fry
7        ..........................................................
8-->
9
10<project name="rk3-build" default="rk3">
11
12    <property name="version.major" value="3"/>
13
14    <!-- IMPORT OTHER ANT SCRIPTS -->
15    <import file="${rk.home}/shared/core/ant-scripts/shared.xml"/>
16    <import file="${rk.home}/shared/greenstone2/ant-scripts/greenstone3-shared.xml"/>
17
18    <import file="compile.xml"/>
19    <import file="${rk.home}/shared/core/ant-scripts/create-installer.xml"/>
20    <import file="${rk.home}/shared/core/ant-scripts/wrap.xml"/>
21
22    <!-- THE MAIN TARGET -->
23    <target name="rk3" depends="init,gs3-init">
24        <antcall target="compile"/>
25        <ant inheritRefs="true" dir="." antfile="${rk.home}/kits/${rk.name}/ant-scripts/create-components.xml" target="create-components"/>
26        <antcall target="create-installer"/>
27        <antcall target="wrap"/>
28    </target>
29
30    <!-- target to show properties in rk3-build.properties -->
31    <target name="properties" depends="core-properties"/>
32
33    <!-- create the property set to be forwarded to greenstone3 -->
34    <propertyset id="forward.properties">
35        <propertyref prefix="forward."/>
36        <mapper type="glob" from="forward.*" to="*"/>
37        <propertyref name="app.version"/>
38        <propertyref name="branch.path"/>
39        <propertyref name="branch.revision"/>
40    </propertyset>
41
42</project>
Note: See TracBrowser for help on using the browser.