Last change
on this file since 28822 was 28822, checked in by ak19, 10 years ago |
Fixing up the Windows shortcuts for Expeditee (ak19)
|
File size:
1.8 KB
|
Rev | Line | |
---|
[28695] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 | <project name="rke-compile">
|
---|
| 3 |
|
---|
| 4 | <target name="compile">
|
---|
| 5 | <!-- checkout expeditee -->
|
---|
| 6 | <exec executable="svn">
|
---|
| 7 | <arg value="checkout"/>
|
---|
| 8 | <arg value="https://svn.cms.waikato.ac.nz/svn/expeditee/trunk"/>
|
---|
[28720] | 9 | <arg value="${basedir}/expeditee"/>
|
---|
[28695] | 10 | </exec>
|
---|
| 11 |
|
---|
| 12 | <!-- we do not want the *.app folders if we are not mac-->
|
---|
[28725] | 13 | <!--<if><bool><not><equals arg1="${rk.os}" arg2="mac"/></not></bool>
|
---|
| 14 | <delete dir="${basedir}/compiled/client-gli.app"/>
|
---|
| 15 | </if>-->
|
---|
[28800] | 16 | <ant dir="${basedir}/expeditee" antfile="${basedir}/expeditee/build.xml" target="inst" />
|
---|
[28720] | 17 | <move todir="compiled">
|
---|
| 18 | <fileset dir="expeditee/inst">
|
---|
| 19 | <include name="**"/>
|
---|
| 20 | </fileset>
|
---|
| 21 | </move>
|
---|
| 22 |
|
---|
[28721] | 23 | <!-- copy search4j -->
|
---|
[28728] | 24 | <if><bool><equals arg1="${rk.os}" arg2="linux"/></bool>
|
---|
[28720] | 25 | <exec dir="${rk.home}/shared/core/search4j" executable="./configure" failonerror="true"/>
|
---|
| 26 | <exec dir="${rk.home}/shared/core/search4j" executable="make" failonerror="true"/>
|
---|
[28721] | 27 | <copy file="${rk.home}/shared/core/search4j/search4j" todir="${basedir}/compiled/bin" />
|
---|
[28720] | 28 | </if>
|
---|
| 29 | <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool>
|
---|
| 30 | <exec dir="${rk.home}/shared/core/search4j" executable="nmake"><arg value="/f"/><arg value="win32.mak"/></exec>
|
---|
[28721] | 31 | <copy file="${rk.home}/shared/core/search4j/search4j.exe" todir="${basedir}/compiled/bin" />
|
---|
[28822] | 32 | <!-- copy icon for windows -->
|
---|
| 33 | <copy file="${rk.home}/shared/core/icon/icon.ico" todir="${basedir}/compiled/bin" />
|
---|
[28720] | 34 | </if>
|
---|
[28721] | 35 | <!-- copy run scripts -->
|
---|
[28728] | 36 | <if><bool><or><equals arg1="${rk.os}" arg2="linux"/><equals arg1="${rk.os}" arg2="windows"/></or></bool>
|
---|
| 37 | <copy todir="${basedir}/compiled">
|
---|
| 38 | <fileset dir="${rk.home}/scripts">
|
---|
| 39 | <include name="**" />
|
---|
| 40 | </fileset>
|
---|
| 41 | </copy>
|
---|
| 42 | </if>
|
---|
[28695] | 43 | </target>
|
---|
| 44 |
|
---|
| 45 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.