source: release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml@ 17810

Last change on this file since 17810 was 17810, checked in by oranfry, 15 years ago

target to prepare greenstone2 source release component

File size: 2.1 KB
RevLine 
[16814]1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 ..........................................................
4 August 2008
5 Targets for Greenstone2 release kits
6 Oran Fry
7 ..........................................................
8-->
9
10<project name="rk2-targets">
11
[17703]12 <property name="version.major" value="2"/>
[16814]13
[17259]14 <target name="compile-uninstaller">
15 <echo>Compiling Uninstaller</echo>
16
[17703]17 <!-- create working build directory -->
18 <mkdir dir="${basedir}/gsdl/uninstaller/build/resources" />
[17259]19
[17703]20 <!-- copile to build -->
[17259]21 <javac
22 srcdir="${rk.home}/uninstaller"
23 destdir="${basedir}/gsdl/uninstaller/build" />
24
[17703]25 <!-- copy language bundle into place -->
[17776]26 <native2ascii
27 implementation="sun"
28 src="${rk.home}/language-strings"
29 dest="${basedir}/gsdl/uninstaller/build/resources"/>
[17259]30
[17703]31 <!-- jar it all up -->
[17259]32 <jar
[17421]33 destfile="${basedir}/gsdl/uninstaller/uninst.jar"
[17259]34 manifest="${rk.home}/uninstaller/manifest.mf"
35 basedir="${basedir}/gsdl/uninstaller/build" />
36
37 </target>
38
[17256]39 <target name="insert-uninstaller">
[17421]40 <copy file="gsdl/uninstaller/uninst.jar" todir="distributions/web" />
[17424]41 <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
[17256]42 </target>
[17259]43
[17448]44 <target name="insert-export-to-cd-package">
[17451]45 <mkdir dir="distributions/web/bin/windows"/>
46 <get src="http://greenstone.org/release-snapshots/server.exe" dest="${basedir}/distributions/web/bin/windows/server.exe"/>
47 <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/Setup.exe" dest="${basedir}/distributions/web/bin/windows/Setup.exe"/>
48 <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/gssetup.exe" dest="${basedir}/distributions/web/bin/windows/gssetup.exe"/>
[17448]49 </target>
[17259]50
[17810]51 <!-- source-release -->
52 <target name="prepare-source-release">
53 <delete dir="components/tmp/source-release"/>
54 <mkdir dir="components/tmp/source-release"/>
55
56 <copy todir="components/tmp/source-release" overwrite="true">
57 <fileset dir="distributions/source"/>
58 </copy>
59 <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false" includes="**/*"/>
60 </target>
61
62
[16833]63</project>
Note: See TracBrowser for help on using the repository browser.