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

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

untested changes to exclude sourcecode from the binary release, use nicer target names and icons

File size: 1.3 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/LICENCE.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 </target>
28
29</project>
Note: See TracBrowser for help on using the repository browser.