[15023] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 | <!--
|
---|
| 3 | ..........................................................
|
---|
[16198] | 4 | February 2008
|
---|
[16748] | 5 | Windows Release Kit for greenstone3 (wirk3)
|
---|
[15023] | 6 | Oran Fry
|
---|
| 7 | ..........................................................
|
---|
| 8 | -->
|
---|
[16748] | 9 |
|
---|
[15023] | 10 | <project name="wirk3-build" default="wirk3">
|
---|
| 11 |
|
---|
[16198] | 12 | <!-- CONSTANTS -->
|
---|
[16245] | 13 |
|
---|
[16748] | 14 | <!-- the size of the resourse chunks to be put in the wrapped installer -->
|
---|
| 15 | <property name="resources.chunksize" value="8388608"/><!-- 8MiB -->
|
---|
[16245] | 16 |
|
---|
[16198] | 17 | <!-- for the benefit of the shared scripts, set release-kit home -->
|
---|
[17898] | 18 | <property name="rk.name" value="wirk3"/>
|
---|
[16198] | 19 | <property name="rk.home" value="${wirk3.home}" />
|
---|
[16748] | 20 | <property name="rk.os" value="windows" />
|
---|
[17597] | 21 | <property name="os.suffix" value="win32"/>
|
---|
[16198] | 22 |
|
---|
| 23 | <!-- IMPORT OTHER ANT SCRIPTS -->
|
---|
[19006] | 24 | <import file="../core/ant-scripts/init.xml"/>
|
---|
| 25 | <import file="../core/ant-scripts/operations-on-gli.xml"/>
|
---|
[16748] | 26 | <import file="../greenstone3/ant-scripts/rk3-targets.xml"/>
|
---|
[17255] | 27 |
|
---|
[15023] | 28 | <import file="compile.xml"/>
|
---|
| 29 | <import file="create-distribution.xml"/>
|
---|
[17367] | 30 | <import file="create-components.xml"/>
|
---|
[15023] | 31 | <import file="create-installer.xml"/>
|
---|
| 32 | <import file="wrap.xml"/>
|
---|
[16198] | 33 |
|
---|
| 34 | <!-- THE MAIN TARGET -->
|
---|
[19406] | 35 | <target name="wirk3" depends="init,gs3-init">
|
---|
[16748] | 36 | <antcall target="compile"/>
|
---|
| 37 | <antcall target="create-distribution"/>
|
---|
[17367] | 38 | <antcall target="create-components"/>
|
---|
[16748] | 39 | <antcall target="create-installer"/>
|
---|
| 40 | <antcall target="wrap"/>
|
---|
[15023] | 41 | </target>
|
---|
[17367] | 42 |
|
---|
[19039] | 43 | <target name="properties">
|
---|
| 44 | <echo>Required Properties:</echo>
|
---|
| 45 | <echo>version the version string for the release</echo>
|
---|
| 46 | <echo/>
|
---|
| 47 |
|
---|
| 48 | <echo>Optional Properties:</echo>
|
---|
| 49 | <echo>branch.path the branch of Greenstone3 to make a release of. Eg: tags/2.81. Default: trunk.</echo>
|
---|
| 50 | <echo>branch.revision the revision of Greenstone3 to make a release of. Eg: 18273. Default: HEAD.</echo>
|
---|
[19406] | 51 | <echo>install.flax set to true to include flax in the distribution. Default: false.</echo>
|
---|
[19039] | 52 | <echo/>
|
---|
| 53 | </target>
|
---|
| 54 |
|
---|
| 55 |
|
---|
[15023] | 56 | </project>
|
---|