Changeset 16736
- Timestamp:
- 2008-08-13T11:35:05+12:00 (16 years ago)
- Location:
- release-kits/lirk3/ant-scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/build.xml
r16684 r16736 23 23 <!-- IMPORT OTHER ANT SCRIPTS --> 24 24 <import file="shared-ant-scripts/init.xml"/> 25 <import file="shared-ant-scripts/rk3-targets.xml"/> 25 <import file="shared-ant-scripts/operations-on-gli.xml"/> 26 <import file="../greenstone3/ant-scripts/rk3-targets.xml"/> 27 26 28 <import file="compile.xml"/> 27 29 <import file="create-distribution.xml"/> -
release-kits/lirk3/ant-scripts/compile.xml
r16684 r16736 9 9 <!-- preparation --> 10 10 <antcall target="set-version-number-property" /> 11 <antcall target="dist-prepare-unix" /> 11 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="prepare-unix" inheritAll="false"/> 12 12 13 <antcall target="tweak-configure-scripts" /> 13 14 14 15 <!-- update --> 15 <ant call target="dist-update-unix"/>16 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="update-unix" inheritAll="false"/> 16 17 17 18 <!-- configure --> 18 <antcall target="dist-configure-unix" /> 19 <antcall target="regenerate-configure"/> 20 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="configure-unix" inheritAll="false"/> 19 21 <antcall target="tweak-makefiles" /> 20 22 21 23 <!-- build --> 22 <ant call target="dist-build-unix"/>24 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="build-unix" inheritAll="false"/> 23 25 <antcall target="linux-strip-execs" /> 24 26 … … 38 40 </target> 39 41 40 <target name="dist-prepare-unix">41 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="prepare-unix" inheritAll="false"/>42 </target>43 42 <target name="tweak-configure-scripts"> 44 43 <antcall target="mgpp-add-static" /> … … 47 46 </target> 48 47 49 <target name="dist-update-unix"> 50 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="update-unix" inheritAll="false"/> 51 </target> 52 53 <target name="dist-configure-unix"> 48 <target name="regenerate-configure"> 54 49 <exec dir="greenstone3/gs2build" executable="autoconf" output="greenstone3/gs2build/configure"> 55 50 <arg line="configure.in"/> 56 51 </exec> 57 52 <chmod file="greenstone3/gs2build/configure" perm="+x"/> 58 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="configure-unix" inheritAll="false"/>59 53 </target> 60 54 … … 65 59 <antcall target="rtftohtml-add-static" /> 66 60 <antcall target="gdbm-add-static" /> 67 </target>68 69 <target name="dist-build-unix">70 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="build-unix" inheritAll="false"/>71 61 </target> 72 62 -
release-kits/lirk3/ant-scripts/create-distribution.xml
r16684 r16736 6 6 <antcall target="export-greenstone3" /> 7 7 <antcall target="dist-set-version-number-property" /> 8 <antcall target="dist-set-gli-version" /> 9 <antcall target="create-distributions-1" /> 10 <antcall target="create-distributions-2" /> 11 <antcall target="create-distributions-3" /> 8 <antcall target="gli-set-version-numbers"> 9 <param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/> 10 </antcall> 11 12 <!-- create distributions 1, 2 and 3 --> 13 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-1" inheritAll="false"> 14 <property name="app.version" value="${version}"/> 15 <property name="branch.path" value="${branch.path}"/> 16 </ant> 17 18 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-2" inheritAll="false"> 19 <property name="app.version" value="${version}"/> 20 <property name="branch.path" value="${branch.path}"/> 21 </ant> 22 23 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-3" inheritAll="false"> 24 <property name="app.version" value="${version}"/> 25 <property name="branch.path" value="${branch.path}"/> 26 </ant> 27 12 28 <antcall target="copy-over-build-xml" /> 13 29 <antcall target="insert-user-manual"/> … … 27 43 <target name="dist-set-version-number-property"> 28 44 <rsr file="distribution/greenstone3/resources/java/global.properties.in" pattern="(.*)@gsdl3version@(.*)" replacement="$1${version}$2" /> 29 </target>30 31 <target name="dist-set-gli-version">32 <ant antfile="${lirk3.home}/ant-scripts/shared-ant-scripts/operations-on-gli.xml" dir="${basedir}/distribution/greenstone3/gli" target="set-version-numbers"/>33 </target>34 35 36 <target name="create-distributions-1">37 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-1" inheritAll="false">38 <property name="app.version" value="${version}"/>39 <property name="branch.path" value="${branch.path}"/>40 </ant>41 </target>42 43 <target name="create-distributions-2">44 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-2" inheritAll="false">45 <property name="app.version" value="${version}"/>46 <property name="branch.path" value="${branch.path}"/>47 </ant>48 </target>49 50 <target name="create-distributions-3">51 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-3" inheritall="false">52 <property name="app.version" value="${version}"/>53 <property name="branch.path" value="${branch.path}"/>54 </ant>55 45 </target> 56 46 -
release-kits/lirk3/ant-scripts/create-installer.xml
r16684 r16736 3 3 4 4 <target name="create-installer"> 5 <antcall target="calculate-component-sizes"/> <!-- from rk3-targets -->6 5 <antcall target="copy-installer-files"/> 7 6 <antcall target="make-installer-files-concrete"/> <!-- from rk3-targets --> -
release-kits/lirk3/ant-scripts/operations-on-gs3home.xml
r16684 r16736 1 1 <?xml version="1.0"?> 2 3 <!-- ====================================================================== 4 March 2005 5 6 Greenstone3 build and install script 7 8 kjdon 9 ====================================================================== --> 10 11 <project name="opeations-on-gs3home" default="usage"> 2 <project name="opeations-on-gs3home"> 12 3 13 4 <!-- include standard build file --> … … 40 31 41 32 33 <target name="tester-abc"> 34 <echo>tester ABC</echo> 35 </target> 42 36 43 37 <!-- creates the base distribution. Needs binaries copied in to it from other greenstones (prepare-os targets) --> 44 38 <target name="create-distribution-1" depends="init" description="do all the initial downloading and setting up"> 45 39 40 <echo>checkout gs2build</echo> 46 41 <antcall target="checkout-gs2build"/> 42 <echo>done checking out gs2build</echo> 43 47 44 48 45 <!--
Note:
See TracChangeset
for help on using the changeset viewer.