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