Last change
on this file since 21394 was 21394, checked in by oranfry, 14 years ago |
moving specific stuff out of general area
|
File size:
1.1 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <project name="rk2-create-installer">
|
---|
3 |
|
---|
4 | <target name="create-installer" depends="init,gs2-init">
|
---|
5 | <antcall target="copy-installer-files"/>
|
---|
6 | <antcall target="make-installer-files-concrete"/>
|
---|
7 | <antcall target="compile-binary-installer"/>
|
---|
8 | </target>
|
---|
9 |
|
---|
10 | <target name="copy-installer-files" depends="copy-main-installer-files,copy-greenstone2-installer-files">
|
---|
11 |
|
---|
12 | <copy todir="installer/classes" overwrite="true" file="distributions/web/LICENSE.txt"/>
|
---|
13 | <unjar src="${rk.home}/shared/core/ant-tasks/greenstone/anttasks.jar" dest="installer/classes"/>
|
---|
14 | <unjar src="${rk.home}/shared/core/lib/crypt.jar" dest="installer/classes"/>
|
---|
15 |
|
---|
16 | <!-- windows -->
|
---|
17 | <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool>
|
---|
18 | <fileset dir="${rk.home}/shared/windows/7za" includes="7za.exe"/>
|
---|
19 | <!-- linux and mac -->
|
---|
20 | <else><if><bool><or><equals arg1="${rk.os}" arg2="linux"/><equals arg1="${rk.os}" arg2="mac"/></or></bool>
|
---|
21 | <unjar src="${rk.home}/shared/core/ant-tasks/7z-ant/7z.jar" dest="installer/classes"/>
|
---|
22 | </if></else></if>
|
---|
23 |
|
---|
24 | <delete dir="installer/classes/META-INF"/>
|
---|
25 | </target>
|
---|
26 |
|
---|
27 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.