source: release-kits/wirk2/ant-scripts/build.xml@ 20375

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

let init set rk.os

File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 ..........................................................
4 June 2008
5 Windows Release Kit for Greenstone2 (wirk2)
6 Oran Fry
7 ..........................................................
8-->
9
10<project name="wirk2-build" default="wirk2">
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="wirk2"/>
19 <property name="rk.home" value="${wirk2.home}" />
20 <property name="shell.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="../greenstone2/ant-scripts/rk2-targets.xml"/>
27 <import file="../windows/ant-scripts/windows-targets.xml"/>
28
29 <import file="compile.xml"/>
30 <import file="create-distribution.xml"/>
31 <import file="create-components.xml"/>
32 <import file="create-installer.xml"/>
33 <import file="wrap.xml"/>
34 <import file="create-cdrom-components.xml"/>
35
36 <!-- THE MAIN TARGET -->
37 <target name="wirk2" depends="init,gs2-init">
38 <antcall target="compile"/>
39 <antcall target="create-distribution"/>
40 <antcall target="create-components"/>
41 <antcall target="create-installer"/>
42 <antcall target="wrap"/>
43 <antcall target="create-cdrom-components"/>
44 </target>
45
46 <target name="properties">
47 <echo>Required Properties:</echo>
48 <echo>version the version string for the release</echo>
49 <echo/>
50
51 <echo>Optional Properties:</echo>
52 <echo>branch.path the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo>
53 <echo>branch.revision the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo>
54 <echo/>
55 </target>
56
57
58</project>
Note: See TracBrowser for help on using the repository browser.