Changeset 21630 for main/trunk/release-kits/kits/rk2/ant-scripts
- Timestamp:
- 2010-01-26T14:44:30+13:00 (14 years ago)
- Location:
- main/trunk/release-kits/kits/rk2/ant-scripts
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk2/ant-scripts/build.xml
r21623 r21630 9 9 10 10 <project name="rk2-build" default="rk2"> 11 12 <property name="version.major" value="2"/> 11 13 12 14 <!-- IMPORT OTHER ANT SCRIPTS --> … … 26 28 <target name="rk2" depends="init,gs2-init,compile,create-components,create-installer,wrap,create-cdrom-components"/> 27 29 28 <target name="properties"> 29 <echo>Required Properties:</echo> 30 <echo>version the version string for the release</echo> 31 <echo/> 32 <echo>Optional Properties:</echo> 33 <echo>branch.path the branch of Greenstone to make a release of. Eg: tags/2.81. Default: trunk.</echo> 34 <echo>branch.revision the revision of Greenstone to make a release of. Eg: 18273. Default: HEAD.</echo> 35 <echo/> 36 </target> 37 38 <!-- TODO: Move the targets below to the xml file that calls it --> 39 40 <target name="create-binary-zip-unix"> 41 <property name="binzip.dir" value="distributions/Greenstone-${version}-${os.suffix}-binary"/> 42 43 <delete dir="${binzip.dir}"/> 44 <exec dir="${basedir}" executable="cp"><arg line="-r distributions/web ${binzip.dir}"/></exec> 45 46 <!-- delete sourcecode --> 47 <delete dir="${binzip.dir}/common-src"/> 48 <delete dir="${binzip.dir}/build-src"/> 49 <delete dir="${binzip.dir}/runtime-src"/> 50 51 <!-- delete loose files --> 52 <delete> 53 <fileset 54 dir="${binzip.dir}" 55 includes="README*.txt,Uninstall.sh,uninst.jar,acconfig.h,aclocal.m4,config.guess,config.sub,configtest.pl,configure,configure.in,install-sh,Makefile.in,micotest.cpp,config.h.in" 56 excludes="READMEen.txt"/> 57 </delete> 58 59 </target> 60 61 <target name="dist-unzip-packages"> 62 <untar src="${basedir}/distributions/web/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz" dest="${basedir}/distributions/web/common-src/packages/sqlite" compression="gzip"/> 63 <delete file="${basedir}/distributions/web/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz"/> 64 </target> 65 66 <target name="copy-greenstone2-installer-files"> 67 <!-- the installer descriptors --> 68 <copy todir="installer" file="${rk.home}/kits/rk2/installer/antinstall-config.xml" overwrite="true"/> 69 <copy todir="installer" file="${rk.home}/kits/rk2/installer/build.xml" overwrite="true"/> 70 </target> 30 <!-- target to show properties in rk2-build.properties --> 31 <target name="properties" depends="core-properties"/> 71 32 72 33 </project>
Note:
See TracChangeset
for help on using the changeset viewer.