root/release-kits/wirk2/ant-scripts/create-installer.xml @ 19586

Revision 19586, 1.0 KB (checked in by oranfry, 11 years ago)

grouped code for creating cdrom components

Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="wirk2-create-installer" default="create-installer">
3
4    <target name="create-installer">
5        <antcall target="copy-installer-files"/>
6        <antcall target="make-installer-files-concrete"><param name="java.os" value="windows"/></antcall> <!-- from init -->
7        <antcall target="compile-binary-installer"/> <!-- from init -->
8    </target>
9
10    <target name="copy-installer-files" depends="copy-main-installer-files"> <!-- from init -->
11
12        <copy todir="${basedir}/installer/classes" overwrite="true">
13            <fileset dir="${wirk2.home}/windows/7za" includes="7za.exe"/>
14            <fileset file="${basedir}/distributions/web/LICENSE.txt"/>
15        </copy>
16       
17        <unjar src="${wirk2.home}/core/ant-tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
18        <delete dir="${basedir}/installer/classes/META-INF"/>
19       
20        <unjar src="${wirk2.home}/core/lib/crypt.jar" dest="${basedir}/installer/classes"/>
21        <delete dir="${basedir}/installer/classes/META-INF"/>
22       
23    </target>
24   
25</project>
Note: See TracBrowser for help on using the browser.