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

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

changes to mark3 after ant cleaned up

File size: 1.7 KB
RevLine 
[14982]1<?xml version="1.0" encoding="utf-8" ?>
[16655]2<project name="mark3-create-installer" default="create-installer">
[14982]3
4 <target name="create-installer">
[16744]5 <antcall target="calculate-component-sizes"/> <!-- from rk3-targets -->
6 <antcall target="copy-installer-files"/>
7 <antcall target="make-installer-files-concrete"/> <!-- from rk3-targets -->
8 <antcall target="compile-installer"/>
[15142]9 </target>
10
[16744]11 <target name="copy-installer-files">
12 <echo>Getting things ready to compile the installer</echo>
13 <mkdir dir="${basedir}/installer/resources"/>
14 <copy todir="${basedir}/installer" file="${mark3.home}/installer/antinstall-config.xml" overwrite="true" />
15 <copy todir="${basedir}/installer" file="${mark3.home}/installer/build.xml" overwrite="true" />
16 <copy todir="${basedir}/installer/classes" overwrite="true">
17 <fileset dir="${mark3.home}/greenstone3/installer-classes"/>
18 <fileset dir="${mark3.home}/ant-scripts/tasks/orans" includes="RegexSearchReplace.class" />
19 </copy>
[15142]20 </target>
21
22 <target name="compile-installer">
[16744]23 <installer file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}.jar"
24 compress="true"
25 extractType="NonExtractor"
26 installConfig="${basedir}/installer/antinstall-config.xml"
27 buildFile="${basedir}/installer/build.xml"
28 antInstallLib="${mark3.home}/packages/ant-installer/lib"
29 antLib="${mark3.home}/packages/ant/lib"
30 validateConfig="true"
31 failOnError="false"
32 icons="bluecurve">
[15142]33
[16744]34 <!-- copy all the important files into the archive to be extracted for install -->
35 <zipfileset dir="${basedir}/installer/classes" includes="**/*" /> <!-- installer classes -->
36 <zipfileset dir="${basedir}/distribution/greenstone3" includes="**/*"/>
[15205]37
[16744]38 </installer>
[14982]39 </target>
40
41</project>
Note: See TracBrowser for help on using the repository browser.