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 | <!-- CONSTANTS -->
|
---|
13 |
|
---|
14 | <!-- for the benefit of the shared scripts, set release-kit home -->
|
---|
15 | <property name="rk.name" value="rk3"/>
|
---|
16 | <property name="rk.home" value="${rk3.home}" />
|
---|
17 |
|
---|
18 | <!-- IMPORT OTHER ANT SCRIPTS -->
|
---|
19 | <import file="../core/ant-scripts/init.xml"/>
|
---|
20 | <import file="../core/ant-scripts/operations-on-gli.xml"/>
|
---|
21 | <import file="../greenstone3/ant-scripts/rk3-targets.xml"/>
|
---|
22 |
|
---|
23 | <import file="compile.xml"/>
|
---|
24 | <import file="create-distribution.xml"/>
|
---|
25 | <import file="create-installer.xml"/>
|
---|
26 | <import file="wrap.xml"/>
|
---|
27 |
|
---|
28 | <!-- THE MAIN TARGET -->
|
---|
29 | <target name="rk3" depends="init,gs3-init">
|
---|
30 | <antcall target="compile"/>
|
---|
31 | <antcall target="create-distribution"/>
|
---|
32 | <ant inheritRefs="true" dir="." antfile="${rk3.home}/ant-scripts/create-components.xml" target="create-components"/>
|
---|
33 | <antcall target="create-installer"/>
|
---|
34 | <antcall target="wrap"/>
|
---|
35 | <antcall target="create-minimal-distribution"/>
|
---|
36 |
|
---|
37 | </target>
|
---|
38 |
|
---|
39 | <target name="properties">
|
---|
40 | <echo>Required Properties:</echo>
|
---|
41 | <echo>version the version string for the release</echo>
|
---|
42 | <echo/>
|
---|
43 | <echo>Optional Properties:</echo>
|
---|
44 | <echo>branch.path the branch of Greenstone3 to make a release of. Eg: tags/2.81. Default: trunk.</echo>
|
---|
45 | <echo>branch.revision the revision of Greenstone3 to make a release of. Eg: 18273. Default: HEAD.</echo>
|
---|
46 | <echo/>
|
---|
47 | </target>
|
---|
48 |
|
---|
49 |
|
---|
50 | </project>
|
---|