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

Revision 17898, 1.0 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="mark3-create-installer" default="create-installer">
3
4    <target name="create-installer">
5        <antcall target="copy-installer-files"/>
6        <antcall target="make-installer-files-concrete"/> <!-- 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        <copy todir="${basedir}/installer/classes" overwrite="true">
15            <fileset file="${basedir}/distributions/web/LICENSE.txt" />
16        </copy>
17
18        <unjar src="${mark3.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
19        <delete dir="${basedir}/installer/classes/META-INF"/>
20
21        <unjar src="${mark3.home}/ant-scripts/tasks/7z-ant/7z.jar" dest="${basedir}/installer/classes"/>
22        <delete dir="${basedir}/installer/classes/META-INF"/>
23
24    </target>
25
26</project>
Note: See TracBrowser for help on using the browser.