-
Notifications
You must be signed in to change notification settings - Fork 15
/
ant-solution.xml
70 lines (54 loc) · 2.18 KB
/
ant-solution.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!--
This file is released under terms of BSD license
See LICENSE file for more information
@author: Mikhail Zhigun
-->
<!-- Combines all ant-projects used in CLAW -->
<project name="solution" default="main" basedir=".">
<description>Build CLAW projects</description>
<!-- Value set externally-->
<property name="claw.properties.dir" value=""/>
<property file="${claw.properties.dir}/claw.properties"/>
<target name="prepare-int-dir">
<mkdir dir="${int.home.dir}"/>
<mkdir dir="${int.home.dir}/bin"/>
</target>
<target name="fetch-deps" depends="prepare-int-dir">
<ant antfile="${3rdparty-dependencies.proj}"/>
</target>
<target name="build-cx2t" depends="fetch-deps">
<ant antfile="${cx2t.proj}" />
</target>
<target name="build-driver" depends="build-cx2t">
<ant antfile="${driver.proj}" />
</target>
<target name="install-driver">
<ant antfile="${driver.proj}" target="post-install" />
</target>
<!-- Default target -->
<target name="main" depends="prepare-int-dir, fetch-deps, build-cx2t, build-driver"/>
<target name="build-driver-tests" depends="main">
<ant antfile="${driver-tests.proj}" target="main" />
</target>
<target name="run-driver-tests" depends="build-driver-tests">
<ant antfile="${driver-tests.proj}" target="run" />
</target>
<target name="build-driver-unit-tests" depends="main">
<ant antfile="${driver-ut.proj}" target="main" />
</target>
<target name="run-driver-unit-tests" depends="build-driver-unit-tests">
<ant antfile="${driver-ut.proj}" target="run" />
</target>
<target name="build-cx2t-unit-tests" depends="build-cx2t">
<ant antfile="${cx2t-unit-tests.proj}" />
</target>
<target name="run-cx2t-unit-tests" depends="build-cx2t-unit-tests">
<ant antfile="${cx2t-unit-tests.proj}" target="run" />
</target>
<target name="build-claw-tests" depends="main">
<ant antfile="${claw-tests.proj}" target="main" />
</target>
<target name="run-claw-tests" depends="build-claw-tests">
<ant antfile="${claw-tests.proj}" target="run" />
</target>
</project>