Last change
on this file since 17596 was 17596, checked in by oranfry, 16 years ago |
changes to exclude sourcecode from the binary release, use nicer target names and icons
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <project name="lirk3-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="linux"/></antcall> <!-- from rk3-targets -->
|
---|
7 | <antcall target="compile-binary-installer"/> <!-- from init -->
|
---|
8 | <antcall target="compile-minimal-installer"/> <!-- from init -->
|
---|
9 | <antcall target="compile-source-installer"/> <!-- from init -->
|
---|
10 |
|
---|
11 | </target>
|
---|
12 |
|
---|
13 | <target name="copy-installer-files">
|
---|
14 |
|
---|
15 | <mkdir dir="${basedir}/installer/resources"/>
|
---|
16 | <copy todir="${basedir}/installer" file="${lirk3.home}/installer/antinstall-config.xml" overwrite="true" />
|
---|
17 | <copy todir="${basedir}/installer" file="${lirk3.home}/installer/build.xml" overwrite="true" />
|
---|
18 | <copy todir="${basedir}/installer/classes" overwrite="true">
|
---|
19 | <fileset dir="${lirk3.home}/greenstone3/installer-classes"/>
|
---|
20 | <fileset file="${basedir}/distribution/greenstone3/LICENSE.txt"/>
|
---|
21 | </copy>
|
---|
22 |
|
---|
23 | <unjar src="${lirk3.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
|
---|
24 | <delete dir="${basedir}/installer/classes/META-INF"/>
|
---|
25 |
|
---|
26 | <unjar src="${lirk3.home}/ant-scripts/tasks/7z-ant/7z.jar" dest="${basedir}/installer/classes"/>
|
---|
27 | <delete dir="${basedir}/installer/classes/META-INF"/>
|
---|
28 |
|
---|
29 | </target>
|
---|
30 |
|
---|
31 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.