source: release-kits/wirk3/ant-scripts/create-installer.xml@ 17107

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

changed build scripts and create-installer targets after the greenstone ant tasks were moved. also, greenstone2 installer now creates admin and demo users at install

File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="wirk3-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 <mkdir dir="${basedir}/installer/resources"/>
13 <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml"/>
14 <copy todir="${basedir}/installer" file="${wirk3.home}/installer/build.xml"/>
15 <copy todir="${basedir}/installer/classes">
16 <fileset dir="${wirk3.home}/windows/installer-classes"/>
17 <fileset dir="${wirk3.home}/greenstone3/installer-classes"/>
18 </copy>
19 <unjar src="${wirk3.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
20 <delete dir="${basedir}/installer/classes/META-INF"/>
21 </target>
22
23 <target name="compile-installer">
24 <installer file="${basedir}/installer/greenstone-${version}-win32.jar"
25 compress="true"
26 extractType="NonExtractor"
27 installConfig="${basedir}/installer/antinstall-config.xml"
28 buildFile="${basedir}/installer/build.xml"
29 antInstallLib="${wirk3.home}/packages/ant-installer/lib"
30 antLib="${wirk3.home}/packages/ant/lib"
31 validateConfig="true"
32 icons="bluecurve">
33
34 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
35 <zipfileset dir="${basedir}/distribution/greenstone3" includes="**/*" />
36
37 </installer>
38 </target>
39
40</project>
Note: See TracBrowser for help on using the repository browser.