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

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

make-installer-files concrete is now in init.xml so deleted from here, and updated compile uninstaller to use the new language strings

File size: 1.7 KB
Line 
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
12 <property name="version.major" value="2"/>
13
14 <target name="compile-uninstaller">
15 <echo>Compiling Uninstaller</echo>
16
17 <!-- create working build directory -->
18 <mkdir dir="${basedir}/gsdl/uninstaller/build/resources" />
19
20 <!-- copile to build -->
21 <javac
22 srcdir="${rk.home}/uninstaller"
23 destdir="${basedir}/gsdl/uninstaller/build" />
24
25 <!-- copy language bundle into place -->
26 <copy todir="${basedir}/gsdl/uninstaller/build/resources" overwrite="true">
27 <fileset dir="${rk.home}/language-strings"/>
28 </copy>
29
30 <!-- jar it all up -->
31 <jar
32 destfile="${basedir}/gsdl/uninstaller/uninst.jar"
33 manifest="${rk.home}/uninstaller/manifest.mf"
34 basedir="${basedir}/gsdl/uninstaller/build" />
35
36 </target>
37
38 <target name="insert-uninstaller">
39 <copy file="gsdl/uninstaller/uninst.jar" todir="distributions/web" />
40 <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
41 </target>
42
43 <target name="insert-export-to-cd-package">
44 <mkdir dir="distributions/web/bin/windows"/>
45 <get src="http://greenstone.org/release-snapshots/server.exe" dest="${basedir}/distributions/web/bin/windows/server.exe"/>
46 <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/Setup.exe" dest="${basedir}/distributions/web/bin/windows/Setup.exe"/>
47 <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/gssetup.exe" dest="${basedir}/distributions/web/bin/windows/gssetup.exe"/>
48 </target>
49
50</project>
Note: See TracBrowser for help on using the repository browser.