source: release-kits/mark3/ant-scripts/compile.xml@ 19936

Last change on this file since 19936 was 19936, checked in by oranfry, 15 years ago

changes to wirk3 comparable to the ones just done on lirk3

File size: 1.5 KB
RevLine 
[14982]1<?xml version="1.0" encoding="utf-8" ?>
[16655]2<project name="mark3-compile" default="compile">
[14982]3
4 <target name="compile">
5
6 <!-- checkout -->
[16744]7 <antcall target="checkout-greenstone3" />
[14982]8
9 <!-- preparation -->
[17348]10 <antcall target="greenstone3-set-version-numbers">
[17898]11 <param name="greenstone3basedir" value="${basedir}/compiled"/>
[17348]12 </antcall>
[17898]13 <ant target="prepare-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
[16744]14
[14982]15 <!-- update -->
[17898]16 <ant target="update-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
[14982]17
18 <!-- configure -->
[17898]19 <ant target="configure-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
[16744]20 <antcall target="tweak-makefiles" />
[14982]21
22 <!-- build -->
[17898]23 <ant target="build-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
[16744]24 <antcall target="linux-strip-execs" />
[17268]25
[17257]26 <!-- uninstaller -->
[17268]27 <antcall target="compile-uninstaller" /> <!-- from rk3-targets -->
[17257]28
[14982]29 <!-- documentation -->
[16744]30 <antcall target="prepare-documentation" />
[14982]31
32 </target>
33
34 <target name="set-version-number-property">
[17898]35 <rsr file="compiled/resources/java/global.properties.in" pattern="(.*)@gsdl3version@(.*)" replacement="$1${version}$2" />
[14982]36 </target>
37
[16655]38
[14982]39 <target name="linux-strip-execs">
[17898]40 <exec dir="compiled/gs2build/bin/darwin" executable="find">
[16744]41 <arg line=". ! -name . -exec strip {} &#59;"/>
42 </exec>
[14982]43 </target>
44
[16655]45</project>
[14982]46
[17932]47
Note: See TracBrowser for help on using the repository browser.