1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 |
|
---|
3 | <!--
|
---|
4 | ..........................................................
|
---|
5 | September 2007
|
---|
6 | Greenstone3 'release maker' script
|
---|
7 | Oran Fry
|
---|
8 | ..........................................................
|
---|
9 | -->
|
---|
10 |
|
---|
11 | <project name="lirk3-create-installer" default="create-installer">
|
---|
12 |
|
---|
13 | <target name="create-installer">
|
---|
14 | <if><bool><istrue value="${execute}"/></bool>
|
---|
15 |
|
---|
16 | <echo>Project Path: ${project.path}</echo>
|
---|
17 | <mkdir dir="${basedir}/installer"/>
|
---|
18 | <installer file="${basedir}/installer/greenstone3.jar"
|
---|
19 | compress="true"
|
---|
20 | extractType="NonExtractor"
|
---|
21 | installConfig="${project.installer.path}/antinstall-config.xml"
|
---|
22 | buildFile="${project.installer.path}/build.xml"
|
---|
23 | antInstallLib="${ant.installer.home}/lib"
|
---|
24 | antLib="${ant.installer.home}/antlib"
|
---|
25 | validateConfig="true"
|
---|
26 | icons="bluecurve">
|
---|
27 |
|
---|
28 | <!-- copy all the important files into the archive to be extracted for install -->
|
---|
29 | <zipfileset dir="${project.installer.path}/cp" includes="resources/*"/>
|
---|
30 | <zipfileset dir="${lirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset>
|
---|
31 |
|
---|
32 | <zipfileset dir="${project.path}" includes="*"/>
|
---|
33 | <zipfileset dir="${project.path}/bin" prefix="bin"><include name="**/*"/></zipfileset>
|
---|
34 | <zipfileset dir="${project.path}/docs" prefix="docs"><include name="**/*"/></zipfileset>
|
---|
35 | <zipfileset dir="${project.path}/gli" prefix="gli"><include name="**/*"/></zipfileset>
|
---|
36 | <zipfileset dir="${project.path}/gs2build" prefix="gs2build"><include name="**/*"/></zipfileset>
|
---|
37 | <zipfileset dir="${project.path}/lib" prefix="lib"><include name="**/*"/></zipfileset>
|
---|
38 | <zipfileset dir="${project.path}/web" prefix="web"><include name="**/*"/></zipfileset>
|
---|
39 | <zipfileset dir="${project.path}/packages" prefix="packages"><include name="**/*"/></zipfileset>
|
---|
40 | <zipfileset dir="${project.path}/resources" prefix="resources"><include name="**/*"/></zipfileset>
|
---|
41 | <zipfileset dir="${project.path}/src" prefix="src"><include name="**/*"/></zipfileset>
|
---|
42 | </installer>
|
---|
43 |
|
---|
44 | </if>
|
---|
45 | </target>
|
---|
46 |
|
---|
47 | </project>
|
---|