[15023] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 | <!--
|
---|
| 3 | ..........................................................
|
---|
[16087] | 4 | June 2008
|
---|
[16745] | 5 | Windows Release Kit for Greenstone2 (wirk2)
|
---|
[15023] | 6 | Oran Fry
|
---|
| 7 | ..........................................................
|
---|
| 8 | -->
|
---|
[16745] | 9 |
|
---|
[16087] | 10 | <project name="wirk2-build" default="wirk2">
|
---|
[15023] | 11 |
|
---|
[16194] | 12 | <!-- CONSTANTS -->
|
---|
[16244] | 13 |
|
---|
[16204] | 14 | <!-- the size of the resourse chunks to be put in the wrapped installer -->
|
---|
| 15 | <property name="resources.chunksize" value="8388608"/><!-- 8MiB -->
|
---|
[16194] | 16 |
|
---|
| 17 | <!-- for the benefit of the shared scripts, set release-kit home -->
|
---|
[17898] | 18 | <property name="rk.name" value="wirk2"/>
|
---|
[16204] | 19 | <property name="rk.home" value="${wirk2.home}" />
|
---|
[17308] | 20 | <property name="rk.os" value="windows" />
|
---|
[17996] | 21 | <property name="shell.os" value="windows" />
|
---|
[17597] | 22 | <property name="os.suffix" value="win32"/>
|
---|
[17378] | 23 |
|
---|
[16194] | 24 | <!-- IMPORT OTHER ANT SCRIPTS -->
|
---|
[19006] | 25 | <import file="../core/ant-scripts/init.xml"/>
|
---|
| 26 | <import file="../core/ant-scripts/operations-on-gli.xml"/>
|
---|
[17291] | 27 | <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
|
---|
[15023] | 28 | <import file="compile.xml"/>
|
---|
| 29 | <import file="create-distribution.xml"/>
|
---|
[17378] | 30 | <import file="create-components.xml"/>
|
---|
[15023] | 31 | <import file="create-installer.xml"/>
|
---|
[16194] | 32 | <import file="wrap.xml"/>
|
---|
[15023] | 33 |
|
---|
[16194] | 34 | <!-- THE MAIN TARGET -->
|
---|
[16087] | 35 | <target name="wirk2" depends="init">
|
---|
[16745] | 36 | <antcall target="compile"/>
|
---|
| 37 | <antcall target="create-distribution"/>
|
---|
[17378] | 38 | <antcall target="create-components"/>
|
---|
[16745] | 39 | <antcall target="create-installer"/>
|
---|
| 40 | <antcall target="wrap"/>
|
---|
[15023] | 41 | </target>
|
---|
| 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 gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo>
|
---|
| 50 | <echo>branch.revision the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo>
|
---|
| 51 | <echo/>
|
---|
| 52 | </target>
|
---|
| 53 |
|
---|
| 54 |
|
---|
[15023] | 55 | </project>
|
---|