source: release-kits/mark3/ant-scripts/create-installer.xml@ 16807

Last change on this file since 16807 was 16807, checked in by oranfry, 16 years ago

fixes to mark3

File size: 1.6 KB
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 rk3-targets -->
7 <antcall target="compile-installer"/>
8 </target>
9
10 <target name="copy-installer-files">
11 <echo>Getting things ready to compile the installer</echo>
12 <copy todir="${basedir}/installer" file="${mark3.home}/installer/antinstall-config.xml" overwrite="true" />
13 <copy todir="${basedir}/installer" file="${mark3.home}/installer/build.xml" overwrite="true" />
14 <copy todir="${basedir}/installer/classes" overwrite="true">
15 <fileset dir="${mark3.home}/greenstone3/installer-classes"/>
16 <fileset dir="${mark3.home}/ant-scripts/tasks/orans" includes="RegexSearchReplace.class" />
17 </copy>
18 </target>
19
20 <target name="compile-installer">
21 <installer file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}.jar"
22 compress="true"
23 extractType="NonExtractor"
24 installConfig="${basedir}/installer/antinstall-config.xml"
25 buildFile="${basedir}/installer/build.xml"
26 antInstallLib="${mark3.home}/packages/ant-installer/lib"
27 antLib="${mark3.home}/packages/ant/lib"
28 validateConfig="true"
29 failOnError="false"
30 icons="bluecurve">
31
32 <!-- copy all the important files into the archive to be extracted for install -->
33 <zipfileset dir="${basedir}/installer/classes" includes="**/*" /> <!-- installer classes -->
34 <zipfileset dir="${basedir}/distribution/greenstone3" includes="**/*"/>
35
36 </installer>
37 </target>
38
39</project>
Note: See TracBrowser for help on using the repository browser.