blob: a8422a0e70e30af8b04d520d2ad4ae495ed86f1d (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project name="TuscanyScaNative_samples" default="all" basedir="..">
<!--
This is the root level ant build.xml file for TuscanySCA Native samples
Nothing is actually performed here, it just delegates to subdirectory
build.xml files.
-->
<import file="${basedir}/antscripts/system.xml"/>
<import file="${basedir}/antscripts/compile-targets.xml"/>
<!--
Notice that the basedir for this project is set to the TuscanySCA root dir
This makes path setting in system.xml much simpler, but we'll just have to
set a property here to this directory.
-->
<property name="this.dir" location="${basedir}/samples"/>
<property name="AlertAggregator.dir" location="${this.dir}/AlertAggregator"/>
<property name="CppBigBank.dir" location="${this.dir}/CppBigBank"/>
<property name="CppCalculator.dir" location="${this.dir}/CppCalculator"/>
<property name="HttpdBigBank.dir" location="${this.dir}/HttpdBigBank"/>
<property name="PHPCalculator.dir" location="${this.dir}/PHPCalculator"/>
<property name="PythonCalculator.dir" location="${this.dir}/PythonCalculator"/>
<property name="PythonWeatherForecast.dir" location="${this.dir}/PythonWeatherForecast"/>
<property name="RestCalculator.dir" location="${this.dir}/RestCalculator"/>
<property name="RestCustomer.dir" location="${this.dir}/RestCustomer"/>
<property name="RestYahoo.dir" location="${this.dir}/RestYahoo"/>
<property name="RubyBigBank.dir" location="${this.dir}/RubyBigBank"/>
<property name="RubyCalculator.dir" location="${this.dir}/RubyCalculator"/>
<property name="SupplyChain.dir" location="${this.dir}/SupplyChain"/>
<!--
Public targets
-->
<target name="all" description="Build and install all TuscanyScaNative samples">
<antcall target="AlertAggregator"/>
<antcall target="CppBigBank"/>
<antcall target="CppCalculator"/>
<antcall target="HttpdBigBank"/>
<antcall target="PHPCalculator"/>
<antcall target="PythonCalculator"/>
<antcall target="PythonWeatherForecast"/>
<antcall target="RestCalculator"/>
<antcall target="RestCustomer"/>
<antcall target="RestYahoo"/>
<antcall target="RubyBigBank"/>
<antcall target="RubyCalculator"/>
<antcall target="SupplyChain"/>
</target>
<!--
Using antfile and inheritAll="false" to maintain the subdir build.xml basedir settings
-->
<target name="AlertAggregator" description="Build and install the AlertAggregator sample">
<ant target="all" antfile="${AlertAggregator.dir}/build.xml" inheritAll="false"/>
</target>
<target name="CppBigBank" description="Build and install the CppBigBank sample">
<ant target="all" antfile="${CppBigBank.dir}/build.xml" inheritAll="false"/>
</target>
<target name="CppCalculator" description="Build and install the CppCalculator sample">
<ant target="all" antfile="${CppCalculator.dir}/build.xml" inheritAll="false"/>
</target>
<target name="HttpdBigBank" description="Build and install the HttpdBigBank sample">
<ant target="all" antfile="${HttpdBigBank.dir}/build.xml" inheritAll="false"/>
</target>
<target name="PHPCalculator" description="Build and install the PHPCalculator sample">
<ant target="all" antfile="${PHPCalculator.dir}/build.xml" inheritAll="false"/>
</target>
<target name="PythonCalculator" description="Build and install the PythonCalculator sample">
<ant target="all" antfile="${PythonCalculator.dir}/build.xml" inheritAll="false"/>
</target>
<target name="PythonWeatherForecast" description="Build and install the PythonWeatherForecast sample">
<ant target="all" antfile="${PythonWeatherForecast.dir}/build.xml" inheritAll="false"/>
</target>
<target name="RestCalculator" description="Build and install the RestCalculator sample">
<ant target="all" antfile="${RestCalculator.dir}/build.xml" inheritAll="false"/>
</target>
<target name="RestCustomer" description="Build and install the RestCustomer sample">
<ant target="all" antfile="${RestCustomer.dir}/build.xml" inheritAll="false"/>
</target>
<target name="RestYahoo" description="Build and install the RestYahoo sample">
<ant target="all" antfile="${RestYahoo.dir}/build.xml" inheritAll="false"/>
</target>
<target name="RubyBigBank" description="Build and install the RubyBigBank sample">
<ant target="all" antfile="${RubyBigBank.dir}/build.xml" inheritAll="false"/>
</target>
<target name="RubyCalculator" description="Build and install the RubyCalculator sample">
<ant target="all" antfile="${RubyCalculator.dir}/build.xml" inheritAll="false"/>
</target>
<target name="SupplyChain" description="Build and install the SupplyChain sample">
<ant target="all" antfile="${SupplyChain.dir}/build.xml" inheritAll="false"/>
</target>
<!-- clean -->
<target name="clean" description="Clean all TuscanyScaNative samples">
<ant target="clean" antfile="${AlertAggregator.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${CppBigBank.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${CppCalculator.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${HttpdBigBank.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${PHPCalculator.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${PythonCalculator.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${PythonWeatherForecast.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${RestCalculator.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${RestCustomer.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${RestYahoo.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${RubyBigBank.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${RubyCalculator.dir}/build.xml" inheritAll="false"/>
<ant target="clean" antfile="${SupplyChain.dir}/build.xml" inheritAll="false"/>
</target>
</project>
|