source: release-kits/wirk3/ant-scripts/build.xml@ 19981

Last change on this file since 19981 was 19981, checked in by oranfry, 15 years ago

use the genralised targets to create components

File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 ..........................................................
4 February 2008
5 Windows Release Kit for greenstone3 (wirk3)
6 Oran Fry
7 ..........................................................
8-->
9
10<project name="wirk3-build" default="wirk3">
11
12 <!-- CONSTANTS -->
13
14 <!-- the size of the resourse chunks to be put in the wrapped installer -->
15 <property name="resources.chunksize" value="8388608"/><!-- 8MiB -->
16
17 <!-- for the benefit of the shared scripts, set release-kit home -->
18 <property name="rk.name" value="wirk3"/>
19 <property name="rk.home" value="${wirk3.home}" />
20 <property name="rk.os" value="windows" />
21 <property name="os.suffix" value="win32"/>
22
23 <!-- IMPORT OTHER ANT SCRIPTS -->
24 <import file="../core/ant-scripts/init.xml"/>
25 <import file="../core/ant-scripts/operations-on-gli.xml"/>
26 <import file="../greenstone3/ant-scripts/rk3-targets.xml"/>
27
28 <import file="compile.xml"/>
29 <import file="create-distribution.xml"/>
30 <import file="create-installer.xml"/>
31 <import file="wrap.xml"/>
32
33 <!-- THE MAIN TARGET -->
34 <target name="wirk3" depends="init,gs3-init">
35 <antcall target="compile"/>
36 <antcall target="create-distribution"/>
37 <ant dir="." antfile="${lirk3.home}/ant-scripts/create-components.xml" target="create-components"/>
38 <antcall target="create-installer"/>
39 <antcall target="wrap"/>
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
47 <echo>Optional Properties:</echo>
48 <echo>branch.path the branch of Greenstone3 to make a release of. Eg: tags/2.81. Default: trunk.</echo>
49 <echo>branch.revision the revision of Greenstone3 to make a release of. Eg: 18273. Default: HEAD.</echo>
50 <echo>install.flax set to true to include flax in the distribution. Default: false.</echo>
51 <echo/>
52 </target>
53
54
55</project>
Note: See TracBrowser for help on using the repository browser.