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="rke-build" default="rke">
|
---|
11 |
|
---|
12 | <!-- IMPORT OTHER ANT SCRIPTS -->
|
---|
13 | <!--<import file="${rk.home}/shared/core/ant-scripts/shared.xml"/>
|
---|
14 | <import file="${rk.home}/shared/greenstone2/ant-scripts/greenstone2-shared.xml"/>-->
|
---|
15 |
|
---|
16 | <!-- load in static properties from build.properties -->
|
---|
17 | <property file="${rk.name}-build.properties" />
|
---|
18 | <!-- load environment properties -->
|
---|
19 | <property environment="env"/>
|
---|
20 |
|
---|
21 | <!-- extra features -->
|
---|
22 | <property name="projectname" value="greenstone" /> <!-- defaults to Greenstone. Set projectname: in rkX-build.properties to change this -->
|
---|
23 | <property name="version-extra" value="" />
|
---|
24 | <property name="version.major" value="" />
|
---|
25 | <property name="post.2.83.version" value="true" />
|
---|
26 | <property name="x64" value="false" />
|
---|
27 |
|
---|
28 | <import file="init.xml"/>
|
---|
29 | <import file="compile.xml"/>
|
---|
30 | <import file="components.xml"/>
|
---|
31 | <import file="create-components.xml"/>
|
---|
32 | <!--<import file="${rk.home}/shared/core/ant-scripts/create-installer.xml"/>-->
|
---|
33 | <import file="create-installer.xml"/>
|
---|
34 | <import file="wrap.xml"/>
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | <!-- THE MAIN TARGET -->
|
---|
39 | <!--<target name="rke" depends="init,compile,create-components,create-installer,wrap"/>-->
|
---|
40 | <target name="rke" depends="init,compile,create-components,create-installer"/>
|
---|
41 |
|
---|
42 | <!-- target to show properties in rk2-build.properties -->
|
---|
43 | <target name="properties" depends="core-properties"/>
|
---|
44 |
|
---|
45 | <!-- show the core properties of all release-kits -->
|
---|
46 | <target name="core-properties">
|
---|
47 | <echo>version (required) the version string for the release</echo>
|
---|
48 | <echo>branch.path (optional) the branch of ${projectname} to make a release of. Eg: tags/2.81. Default: trunk.</echo>
|
---|
49 | <echo>branch.revision (optional) the revision of ${projectname} to make a release of. Eg: 18273. Default: HEAD.</echo>
|
---|
50 | </target>
|
---|
51 |
|
---|
52 | </project>
|
---|