Changeset 13400 for trunk/gsdl3/dist-resources/dist-build.xml
- Timestamp:
- 2006-12-01T14:40:42+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/dist-resources/dist-build.xml
r13378 r13400 19 19 <!-- Create the binaries for windows distribution --> 20 20 <target name="prepare-windows" depends="init"> 21 <cvs command=" export -D '1 second ago'" package="mgpp"21 <cvs command="checkout -P" package="mgpp" 22 22 dest="${src.packages.home}" 23 23 cvsRoot="${cvs.root}" /> 24 <cvs command=" export -D '1 second ago'" package="gs2build"24 <cvs command="checkout -P" package="gs2build" 25 25 cvsRoot="${cvs.root}" /> 26 26 <antcall target="unzip-windows-packages"/> 27 27 <antcall target="checkout-winbin"/> 28 <antcall target="get-perl-for-windows"/> 29 </target> 30 31 <target name="build-windows" depends="init"> 32 <antcall target="cvsupdate-distribution"/> 33 <cvs command="update -dP" package="winbin" 34 cvsRoot="${cvs.root}" /> 28 35 <antcall target="get-windows-binaries"/> 29 <antcall target="get-perl-for-windows"/>30 36 <antcall target="rename-gs2build-files-windows"/> 31 37 <antcall target="compile-windows-c++"/> 32 38 <antcall target="compile-packages"/> 33 39 </target> 34 35 <!-- Create the binaries for Mac distribution-->36 <target name="prepare- macos-1" depends="init">37 <cvs command=" export -D '1 second ago'" package="mgpp"40 41 <!-- Create the binaries for Unix/Mac distributions --> 42 <target name="prepare-unix" depends="init"> 43 <cvs command="checkout -P" package="mgpp" 38 44 dest="${src.packages.home}" 39 45 cvsRoot="${cvs.root}" /> 40 <cvs command="export -D '1 second ago'" package="gs2build" 41 cvsRoot="${cvs.root}" /> 46 <cvs command="checkout -P" package="gs2build" 47 cvsRoot="${cvs.root}" /> 48 </target> 49 50 <target name="update-unix" depends="init"> 51 <antcall target="cvsupdate-distribution"/> 42 52 <antcall target="rename-gs2build-files-unix"/> 43 53 <antcall target="delete-windows-files"/> 44 <antcall target="get-macos-extra"/> 54 </target> 55 56 <target name="configure-unix" depends="init"> 45 57 <antcall target="configure-c++"/> 46 </target> 47 48 <target name="prepare-macos-2" depends="init"> 58 </target> 59 <target name="build-unix" depends="init"> 49 60 <antcall target="compile-packages"/> 50 61 <antcall target="compile-gs2build"/> 51 62 </target> 52 53 <!-- Get the binaries for linux distribution --> 54 <target name="prepare-linux-1" depends="init"> 55 <cvs command="export -D '1 second ago'" package="mgpp" 56 dest="${src.packages.home}" 57 cvsRoot="${cvs.root}" /> 58 <cvs command="export -D '1 second ago'" package="gs2build" 59 cvsRoot="${cvs.root}" /> 60 <cvs command="export -D '1 second ago'" package="gli" 61 cvsRoot="${cvs.root}" /> 62 <delete file="${gli.home}/gli.bat"/> 63 <delete file="${gli.home}/gli.sh"/> 64 <antcall target="rename-gs2build-files-unix"/> 65 <!--<antcall target="checkout-winbin"/> 66 <antcall target="get-windows-binaries"/> 67 <antcall target="get-perl-for-windows"/>--> 68 <delete> 69 <fileset dir="${lib.jni}" includes="*.dll"/> 70 </delete> 71 </target> 72 73 74 <target name="prepare-linux-2" depends="init"> 75 <antcall target="configure-c++"/> 76 </target> 77 78 <target name="prepare-linux-3" depends="init"> 79 <antcall target="compile-packages"/> 80 <antcall target="compile-gs2build"/> 81 </target> 82 63 83 64 <!-- creates the base distribution. Needs binaries copied in to it from other 84 greenstones (prepare- for-dists) -->65 greenstones (prepare-os targets) --> 85 66 <target name="create-distribution-1" depends="init" description="do all the initial downloading and setting up"> 86 67 <cvs command="export -D '1 second ago'" package="mgpp" … … 97 78 98 79 <!--<antcall target="unzip-windows-packages"/> do we need this?--> 99 <antcall target="get-macos-extra"/>100 80 <antcall target="download-tomcat"/> 101 81 <delete file="${packages.home}/apache-tomcat-5.5.12.zip"/> … … 109 89 110 90 <antcall target="prepare-collections"/> 111 <antcall target="install-macos-extra"/> 91 92 <!-- get good XML-Parser - does this work? --> 93 <antcall target="get-xml-parser"/> 112 94 <!-- documented collections --> 113 95 <antcall target="get-documented-collections"/> … … 134 116 <!-- compile the java stuff --> 135 117 <antcall target="compile-web"/> 136 <antcall target="configure-packages"/>118 <!-- <antcall target="configure-packages"/> 137 119 <antcall target="compile-packages"/> 138 <antcall target="distclean-packages"/> 120 <antcall target="distclean-packages"/>--> 139 121 <antcall target="compile-core"/> 140 122 <antcall target="compile-gli"/> … … 227 209 <!--<delete dir="${basedir}/dist-resources"/>--> 228 210 211 </target> 212 213 <!-- Supplementary targets --> 214 215 <target name="cvsupdate-distribution" depends="init"> 216 <antcall target="cvsupdate-packages"/> 217 <antcall target="cvsupdate-core"/> 218 <antcall target="cvsupdate-gs2build"/> 219 <antcall target="cvsupdate-web"/> 229 220 </target> 230 221 … … 307 298 <fileset dir="${documented.collections.home}/wrdpdf-e"/> 308 299 </copy> 300 </target> 301 302 <target name="get-xml-parser" depends="init"> 303 <get src="http://www.greenstone.org/gs3files/XML-Parser.tar.gz" 304 dest="${gs2build.home}/perllib/cpan/XML-Parser.tar.gz" 305 usetimestamp="true"/> 306 <untar src="${gs2build.home}/perllib/cpan/XML-Parser.tar.gz" 307 dest="${gs2build.home}/perllib/cpan/" 308 compression="gzip"/> 309 <delete file="${gs2build.home}/perllib/cpan/XML-Parser.tar.gz"/> 309 310 </target> 310 311
Note:
See TracChangeset
for help on using the changeset viewer.