1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <!--
|
---|
3 | ..........................................................
|
---|
4 | September 2009
|
---|
5 | Release Kit for Greenstone2 (rk2)
|
---|
6 | Oran Fry
|
---|
7 | ..........................................................
|
---|
8 | -->
|
---|
9 |
|
---|
10 | <project name="rk2-build" default="rk2">
|
---|
11 |
|
---|
12 | <!-- CONSTANTS -->
|
---|
13 |
|
---|
14 | <!-- for the benefit of the shared scripts, set release-kit home -->
|
---|
15 | <property name="rk.name" value="rk2"/>
|
---|
16 | <property name="rk.home" value="${rk2.home}" />
|
---|
17 |
|
---|
18 | <!-- IMPORT OTHER ANT SCRIPTS -->
|
---|
19 | <import file="../../../shared/core/ant-scripts/init.xml"/>
|
---|
20 | <import file="../../../shared/core/ant-scripts/operations-on-gli.xml"/>
|
---|
21 | <import file="../../../shared/greenstone2/ant-scripts/rk2-targets.xml"/>
|
---|
22 |
|
---|
23 | <import file="compile.xml"/>
|
---|
24 | <import file="create-distribution.xml"/>
|
---|
25 | <import file="create-components.xml"/>
|
---|
26 | <import file="create-installer.xml"/>
|
---|
27 | <import file="wrap.xml"/>
|
---|
28 | <import file="create-cdrom-components.xml"/>
|
---|
29 |
|
---|
30 | <import file="components.xml"/>
|
---|
31 |
|
---|
32 | <!-- THE MAIN TARGET -->
|
---|
33 | <target name="rk2" depends="init,gs2-init">
|
---|
34 | <antcall target="compile"/>
|
---|
35 | <antcall target="create-distribution"/>
|
---|
36 | <antcall target="create-components"/>
|
---|
37 | <antcall target="create-installer"/>
|
---|
38 | <antcall target="wrap"/>
|
---|
39 | <antcall target="create-cdrom-components"/>
|
---|
40 | </target>
|
---|
41 |
|
---|
42 | <target name="properties">
|
---|
43 | <echo>Required Properties:</echo>
|
---|
44 | <echo>version the version string for the release</echo>
|
---|
45 | <echo/>
|
---|
46 | <echo>Optional Properties:</echo>
|
---|
47 | <echo>branch.path the branch of Greenstone to make a release of. Eg: tags/2.81. Default: trunk.</echo>
|
---|
48 | <echo>branch.revision the revision of Greenstone to make a release of. Eg: 18273. Default: HEAD.</echo>
|
---|
49 | <echo/>
|
---|
50 | </target>
|
---|
51 |
|
---|
52 | </project>
|
---|