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

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

allowed automatic setting of os.suffix to happen properly and made mark2 wrap script usethat property

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
22 <!-- IMPORT OTHER ANT SCRIPTS -->
23 <import file="../core/ant-scripts/init.xml"/>
24 <import file="../core/ant-scripts/operations-on-gli.xml"/>
25 <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
26 <import file="../windows/ant-scripts/windows-targets.xml"/>
27
28 <import file="compile.xml"/>
29 <import file="create-distribution.xml"/>
30 <import file="create-components.xml"/>
31 <import file="create-installer.xml"/>
32 <import file="wrap.xml"/>
33 <import file="create-cdrom-components.xml"/>
34
35 <!-- THE MAIN TARGET -->
36 <target name="wirk2" depends="init,gs2-init">
37 <antcall target="compile"/>
38 <antcall target="create-distribution"/>
39 <antcall target="create-components"/>
40 <antcall target="create-installer"/>
41 <antcall target="wrap"/>
42 <antcall target="create-cdrom-components"/>
43 </target>
44
45 <target name="properties">
46 <echo>Required Properties:</echo>
47 <echo>version the version string for the release</echo>
48 <echo/>
49
50 <echo>Optional Properties:</echo>
51 <echo>branch.path the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo>
52 <echo>branch.revision the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo>
53 <echo/>
54 </target>
55
56
57</project>
Note: See TracBrowser for help on using the repository browser.