root/release-kits/wirk2/ant-scripts/build.xml @ 19324

Revision 19324, 1.8 KB (checked in by oranfry, 11 years ago)

import windows scripts and set ANT_HOME

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="rk.os" value="windows" />
21    <property name="shell.os" value="windows" />
22    <property name="os.suffix" value="win32"/>
23   
24    <!-- IMPORT OTHER ANT SCRIPTS -->
25    <import file="../core/ant-scripts/init.xml"/>
26    <import file="../core/ant-scripts/operations-on-gli.xml"/>
27    <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
28    <import file="../windows/ant-scripts/windows-targets.xml"/>
29   
30    <import file="compile.xml"/>
31    <import file="create-distribution.xml"/>
32    <import file="create-components.xml"/>
33    <import file="create-installer.xml"/>
34    <import file="wrap.xml"/>
35
36    <!-- THE MAIN TARGET -->
37    <target name="wirk2" depends="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    </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 browser.