source: release-kits/mark2/ant-scripts/create-installer.xml@ 17608

Last change on this file since 17608 was 17608, checked in by oranfry, 12 years ago

fixes to make mark in sync with lirk

File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="mark2-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 rk2-targets -->
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">
13 <mkdir dir="${basedir}/installer/classes"/>
14 <copy todir="${basedir}/installer" file="${mark2.home}/installer/antinstall-config.xml" overwrite="true"/>
15 <copy todir="${basedir}/installer" file="${mark2.home}/installer/build.xml" overwrite="true"/>
16 <copy todir="${basedir}/installer/classes" overwrite="true">
17 <fileset dir="${mark2.home}/greenstone2/installer-classes"/>
18 <fileset file="${basedir}/distributions/web/LICENSE.txt" />
19 </copy>
20
21 <unjar src="${mark2.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
22 <delete dir="${basedir}/installer/classes/META-INF"/>
23
24 <unjar src="${mark2.home}/lib/crypt.jar" dest="${basedir}/installer/classes"/>
25 <delete dir="${basedir}/installer/classes/META-INF"/>
26
27 <unjar src="${mark2.home}/ant-scripts/tasks/7z-ant/7z.jar" dest="${basedir}/installer/classes"/>
28 <delete dir="${basedir}/installer/classes/META-INF"/>
29
30 </target>
31
32</project>
Note: See TracBrowser for help on using the repository browser.