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/init.xml"/>
|
---|
16 | <import file="${rk.home}/shared/core/ant-scripts/operations-on-gli.xml"/>
|
---|
17 | <import file="${rk.home}/shared/greenstone2/ant-scripts/rk3-targets.xml"/>
|
---|
18 |
|
---|
19 | <import file="compile.xml"/>
|
---|
20 | <import file="${rk.home}/shared/core/ant-scripts/create-installer.xml"/>
|
---|
21 | <import file="${rk.home}/shared/core/ant-scripts/wrap.xml"/>
|
---|
22 |
|
---|
23 | <!-- THE MAIN TARGET -->
|
---|
24 | <target name="rk3" depends="init,gs3-init">
|
---|
25 | <antcall target="compile"/>
|
---|
26 | <ant inheritRefs="true" dir="." antfile="${rk.home}/kits/${rk.name}/ant-scripts/create-components.xml" target="create-components"/>
|
---|
27 | <antcall target="create-installer"/>
|
---|
28 | <antcall target="wrap"/>
|
---|
29 | </target>
|
---|
30 |
|
---|
31 | <!-- target to show properties in rk3-build.properties -->
|
---|
32 | <target name="properties" depends="core-properties"/>
|
---|
33 |
|
---|
34 | <!-- create the property set to be forwarded to greenstone3 -->
|
---|
35 | <propertyset id="forward.properties">
|
---|
36 | <propertyref prefix="forward."/>
|
---|
37 | <mapper type="glob" from="forward.*" to="*"/>
|
---|
38 | <propertyref name="app.version"/>
|
---|
39 | <propertyref name="branch.path"/>
|
---|
40 | <propertyref name="branch.revision"/>
|
---|
41 | </propertyset>
|
---|
42 |
|
---|
43 | </project>
|
---|