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

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

do the utf-8 escape trick for the uninstaller too

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 <native2ascii
27 implementation="sun"
28 src="${rk.home}/language-strings"
29 dest="${basedir}/gsdl/uninstaller/build/resources"/>
30
31 <!-- jar it all up -->
32 <jar
33 destfile="${basedir}/gsdl/uninstaller/uninst.jar"
34 manifest="${rk.home}/uninstaller/manifest.mf"
35 basedir="${basedir}/gsdl/uninstaller/build" />
36
37 </target>
38
39 <target name="insert-uninstaller">
40 <copy file="gsdl/uninstaller/uninst.jar" todir="distributions/web" />
41 <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
42 </target>
43
44 <target name="insert-export-to-cd-package">
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"/>
49 </target>
50
51</project>
Note: See TracBrowser for help on using the repository browser.