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