Changeset 21630 for main/trunk/release-kits/kits/rk3/ant-scripts/build.xml
- Timestamp:
- 2010-01-26T14:44:30+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk3/ant-scripts/build.xml
r20543 r21630 10 10 <project name="rk3-build" default="rk3"> 11 11 12 <!-- CONSTANTS --> 13 14 <!-- for the benefit of the shared scripts, set release-kit home --> 15 <property name="rk.name" value="rk3"/> 16 <property name="rk.home" value="${rk3.home}" /> 12 <property name="version.major" value="3"/> 17 13 18 14 <!-- IMPORT OTHER ANT SCRIPTS --> 19 <import file=" ../core/ant-scripts/init.xml"/>20 <import file=" ../core/ant-scripts/operations-on-gli.xml"/>21 <import file=" ../greenstone3/ant-scripts/rk3-targets.xml"/>15 <import file="${rk.home}/shared/core/ant-scripts/init.xml"/> 16 <import file="${rk.home}/shared/core/ant-scripts/operations-on-gli.xml"/> 17 <import file="${rk.home}/shared/greenstone2/ant-scripts/rk3-targets.xml"/> 22 18 23 19 <import file="compile.xml"/> 24 <import file="create-distribution.xml"/> 25 <import file="create-installer.xml"/> 20 <import file="${rk.home}/shared/core/ant-scripts/create-installer.xml"/> 26 21 <import file="wrap.xml"/> 27 22 … … 29 24 <target name="rk3" depends="init,gs3-init"> 30 25 <antcall target="compile"/> 31 <antcall target="create-distribution"/> 32 <ant inheritRefs="true" dir="." antfile="${rk3.home}/ant-scripts/create-components.xml" target="create-components"/> 26 <ant inheritRefs="true" dir="." antfile="${rk.home}/kits/${rk.name}/ant-scripts/create-components.xml" target="create-components"/> 33 27 <antcall target="create-installer"/> 34 28 <antcall target="wrap"/> 35 <antcall target="create-minimal-distribution"/>36 37 29 </target> 38 30 39 <target name="properties"> 40 <echo>Required Properties:</echo> 41 <echo>version the version string for the release</echo> 42 <echo/> 43 <echo>Optional Properties:</echo> 44 <echo>branch.path the branch of Greenstone3 to make a release of. Eg: tags/2.81. Default: trunk.</echo> 45 <echo>branch.revision the revision of Greenstone3 to make a release of. Eg: 18273. Default: HEAD.</echo> 46 <echo/> 47 </target> 31 <!-- target to show properties in rk3-build.properties --> 32 <target name="properties" depends="core-properties"/> 48 33 34 <!-- create the property set to be forwarded to greenstone3 --> 35 <propertyset id="forward.properties"> 36 <propertyref prefix="forward."/> 37 <mapper type="glob" from="forward.*" to="*"/> 38 <propertyref name="app.version"/> 39 <propertyref name="branch.path"/> 40 <propertyref name="branch.revision"/> 41 </propertyset> 49 42 50 43 </project>
Note:
See TracChangeset
for help on using the changeset viewer.