source: release-kits/shared/greenstone3/ant-scripts/rk3-targets.xml@ 17705

Last change on this file since 17705 was 17705, 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.6 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 ..........................................................
4 August 2008
5 Targets for Greenstone3 release kits
6 Oran Fry
7 ..........................................................
8-->
9
10<project name="rk3-targets">
11
12 <property name="version.major" value="3"/>
13
14 <target name="compile-uninstaller">
15 <echo>Compiling Uninstaller</echo>
16
17 <!-- create working build directory -->
18 <mkdir dir="${basedir}/greenstone3/uninstaller/build/resources" />
19
20 <!-- copile to build -->
21 <javac
22 srcdir="${rk.home}/uninstaller"
23 destdir="${basedir}/greenstone3/uninstaller/build" />
24
25 <!-- copy language bundle into place -->
26 <copy todir="${basedir}/greenstone3/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}/greenstone3/uninstaller/uninst.jar"
33 manifest="${rk.home}/uninstaller/manifest.mf"
34 basedir="${basedir}/greenstone3/uninstaller/build" />
35
36 </target>
37
38 <target name="insert-uninstaller">
39 <copy file="greenstone3/uninstaller/uninst.jar" todir="distribution/greenstone3" />
40 <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distribution/greenstone3" />
41 </target>
42
43 <target name="greenstone3-set-version-numbers">
44 <rsr
45 file="${greenstone3basedir}/resources/java/global.properties.in"
46 pattern="@gsdl3version@"
47 replacement="${version}" />
48 </target>
49
50 <target name="copy-web-to-source-greenstone3">
51 <copy todir="distribution/source"><fileset dir="distribution/greenstone3"/></copy>
52 </target>
53
54
55</project>
Note: See TracBrowser for help on using the repository browser.