root/release-kits/wirk3/ant-scripts/create-installer.xml @ 17898

Revision 17898, 1.5 KB (checked in by oranfry, 11 years ago)

Standardised names of directories used in release kits

  • gsdl and greenstone3 -> compiled
  • distribution and distributions -> distributions
  • greenstone3 and web -> web

And, expect more specifically named properties files, e.g., lirk3-build.properties, wirk2-build.properties

Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="wirk3-create-installer" default="create-installer">
3
4    <target name="create-installer">
5        <antcall target="copy-installer-files"/>
6        <antcall target="make-installer-files-concrete"><param name="java.os" value="windows"/></antcall> <!-- from init -->
7        <antcall target="compile-binary-installer"/> <!-- from init -->
8        <antcall target="compile-minimal-installer"/> <!-- from init -->
9        <antcall target="compile-source-installer"/> <!-- from init -->
10    </target>
11
12    <target name="copy-installer-files" depends="copy-main-installer-files"> <!-- from init -->
13
14        <!-- some canned resources for the installer -->
15        <copy todir="${basedir}/installer/classes" overwrite="true">
16            <fileset dir="${wirk3.home}/packages/7za" includes="7za.exe"/>
17            <fileset file="${basedir}/distributions/web/LICENSE.txt"/>
18        </copy>
19
20        <!-- some classes from jars, unpacked to be repacked into installer -->
21        <unjar src="${wirk3.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
22        <delete dir="${basedir}/installer/classes/META-INF"/>
23       
24        <!--
25        <unjar src="${wirk3.home}/ant-scripts/tasks/orangevolt/roxes-win32forjava-1.1.1.jar" dest="${basedir}/installer/classes"/>
26        <delete dir="${basedir}/installer/classes/META-INF"/>
27       
28        <unjar src="${wirk3.home}/ant-scripts/tasks/orangevolt/orangevolt-ant-tasks-1.3.8.jar" dest="${basedir}/installer/classes"/>
29        <delete dir="${basedir}/installer/classes/META-INF"/>
30        -->
31
32    </target>
33   
34</project>
Note: See TracBrowser for help on using the browser.