[14982] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 | <!--
|
---|
| 3 | ..........................................................
|
---|
[16175] | 4 | June 2008
|
---|
[16234] | 5 | Linux Release Kit for Greenstone2 (lirk2)
|
---|
[14982] | 6 | Oran Fry
|
---|
| 7 | ..........................................................
|
---|
| 8 | -->
|
---|
[16739] | 9 |
|
---|
[15956] | 10 | <project name="lirk2-build" default="lirk2">
|
---|
[14982] | 11 |
|
---|
[16175] | 12 | <!-- CONSTANTS -->
|
---|
[14982] | 13 |
|
---|
[16175] | 14 | <!-- for the benefit of the shared scripts, set release-kit home -->
|
---|
[17898] | 15 | <property name="rk.name" value="lirk2"/>
|
---|
[16175] | 16 | <property name="rk.home" value="${lirk2.home}" />
|
---|
[17316] | 17 | <property name="rk.os" value="linux" />
|
---|
[17996] | 18 | <property name="shell.os" value="linux"/>
|
---|
[17597] | 19 | <property name="os.suffix" value="linux"/>
|
---|
[17396] | 20 |
|
---|
[16175] | 21 | <!-- IMPORT OTHER ANT SCRIPTS -->
|
---|
[19006] | 22 | <import file="../core/ant-scripts/init.xml"/>
|
---|
| 23 | <import file="../core/ant-scripts/operations-on-gli.xml"/>
|
---|
[16815] | 24 | <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
|
---|
[19154] | 25 | <import file="../linux/ant-scripts/linux-targets.xml"/>
|
---|
[17597] | 26 |
|
---|
[14982] | 27 | <import file="compile.xml"/>
|
---|
| 28 | <import file="create-distribution.xml"/>
|
---|
[17396] | 29 | <import file="create-components.xml"/>
|
---|
[14982] | 30 | <import file="create-installer.xml"/>
|
---|
| 31 | <import file="wrap.xml"/>
|
---|
| 32 |
|
---|
[16175] | 33 | <!-- THE MAIN TARGET -->
|
---|
[15956] | 34 | <target name="lirk2" depends="init">
|
---|
[16739] | 35 | <antcall target="compile"/>
|
---|
| 36 | <antcall target="create-distribution"/>
|
---|
[17396] | 37 | <antcall target="create-components"/>
|
---|
[16739] | 38 | <antcall target="create-installer"/>
|
---|
| 39 | <antcall target="wrap"/>
|
---|
[14982] | 40 | </target>
|
---|
| 41 |
|
---|
[19039] | 42 | <target name="properties">
|
---|
| 43 | <echo>Required Properties:</echo>
|
---|
| 44 | <echo>version the version string for the release</echo>
|
---|
| 45 | <echo/>
|
---|
| 46 |
|
---|
| 47 | <echo>Optional Properties:</echo>
|
---|
| 48 | <echo>branch.path the branch of gsdl to make a release of. Eg: tags/2.81. Default: trunk.</echo>
|
---|
| 49 | <echo>branch.revision the revision of gsdl to make a release of. Eg: 18273. Default: HEAD.</echo>
|
---|
| 50 | <echo/>
|
---|
| 51 | </target>
|
---|
| 52 |
|
---|
| 53 |
|
---|
[14982] | 54 | </project>
|
---|