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
|
Rev | Line | |
---|
[20721] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 | <project name="rk2-create-installer">
|
---|
| 3 |
|
---|
[21394] | 4 | <target name="create-installer" depends="init,gs2-init">
|
---|
[21311] | 5 | <antcall target="copy-installer-files"/>
|
---|
| 6 | <antcall target="make-installer-files-concrete"/>
|
---|
| 7 | <antcall target="compile-binary-installer"/>
|
---|
| 8 | </target>
|
---|
[20721] | 9 |
|
---|
[21311] | 10 | <target name="copy-installer-files" depends="copy-main-installer-files,copy-greenstone2-installer-files">
|
---|
[20721] | 11 |
|
---|
[21311] | 12 | <copy todir="installer/classes" overwrite="true" file="distributions/web/LICENSE.txt"/>
|
---|
[21394] | 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"/>
|
---|
[20721] | 15 |
|
---|
[21311] | 16 | <!-- windows -->
|
---|
| 17 | <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool>
|
---|
[21394] | 18 | <fileset dir="${rk.home}/shared/windows/7za" includes="7za.exe"/>
|
---|
[21311] | 19 | <!-- linux and mac -->
|
---|
| 20 | <else><if><bool><or><equals arg1="${rk.os}" arg2="linux"/><equals arg1="${rk.os}" arg2="mac"/></or></bool>
|
---|
[21394] | 21 | <unjar src="${rk.home}/shared/core/ant-tasks/7z-ant/7z.jar" dest="installer/classes"/>
|
---|
[21311] | 22 | </if></else></if>
|
---|
[20721] | 23 |
|
---|
[21311] | 24 | <delete dir="installer/classes/META-INF"/>
|
---|
[20721] | 25 | </target>
|
---|
| 26 |
|
---|
| 27 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.