You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by bj...@apache.org on 2007/09/20 23:00:06 UTC

svn commit: r577914 - in /incubator/tuscany/cpp/sca: ./ runtime/extensions/cpp/ samples/ samples/AlertAggregator/ samples/CppBigBank/ samples/CppCalculator/ samples/HttpdBigBank/ samples/PHPCalculator/ samples/PythonCalculator/ samples/PythonWeatherFor...

Author: bjohnson
Date: Thu Sep 20 14:00:04 2007
New Revision: 577914

URL: http://svn.apache.org/viewvc?rev=577914&view=rev
Log:
Adding ant build infrastructure for all samples, and adding ant build file for CppCalculator

Added:
    incubator/tuscany/cpp/sca/samples/AlertAggregator/build.xml
    incubator/tuscany/cpp/sca/samples/CppCalculator/build.xml
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/build.xml
    incubator/tuscany/cpp/sca/samples/PHPCalculator/build.xml
    incubator/tuscany/cpp/sca/samples/PythonCalculator/build.xml
    incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/build.xml
    incubator/tuscany/cpp/sca/samples/RestCalculator/build.xml
    incubator/tuscany/cpp/sca/samples/RestCustomer/build.xml
    incubator/tuscany/cpp/sca/samples/RestYahoo/build.xml
    incubator/tuscany/cpp/sca/samples/RubyBigBank/build.xml
    incubator/tuscany/cpp/sca/samples/RubyCalculator/build.xml
    incubator/tuscany/cpp/sca/samples/SupplyChain/build.xml
    incubator/tuscany/cpp/sca/samples/build.xml
Modified:
    incubator/tuscany/cpp/sca/build.xml
    incubator/tuscany/cpp/sca/runtime/extensions/cpp/build.xml
    incubator/tuscany/cpp/sca/samples/CppBigBank/build.xml

Modified: incubator/tuscany/cpp/sca/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/build.xml?rev=577914&r1=577913&r2=577914&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/build.xml (original)
+++ incubator/tuscany/cpp/sca/build.xml Thu Sep 20 14:00:04 2007
@@ -29,8 +29,10 @@
     
   <import file="antscripts/system.xml"/>
 
-  <property name="runtime.core.dir" value="runtime/core"/>
-  <property name="extensions.dir" value="runtime/extensions"/>
+  <property name="runtime.core.dir"  location="runtime/core"/>
+  <property name="extensions.dir"    location="runtime/extensions"/>
+  <property name="samples.dir"       location="samples"/>
+  <property name="tools.dir"         location="tools"/>
  	
   <!--
     Public targets
@@ -53,9 +55,23 @@
     <antcall target="install.extensions"/>
   </target>
 
-  <target name="clean" description="Clean all TuscanyScaNative compiled source code">
+  <target name="samples" description="Build and Install all TuscanyScaNative samples">
+    <antcall target="build.samples"/>
+  </target>
+
+  <target name="tools" description="Build and Install all TuscanyScaNative tools">
+    <antcall target="build.tools"/>
+  </target>
+
+  <target name="tests" description="Build and run all TuscanyScaNative tests: Not implmented yet">
+    <!-- Complete this when the tests are ready -->
+  </target>
+
+  <target name="clean" description="Clean all TuscanyScaNative source code, samples, and tools">
     <antcall target="clean.core"/>
     <antcall target="clean.extensions"/>
+    <antcall target="clean.samples"/>
+    <antcall target="clean.tools"/>
   </target>
 
   <!--
@@ -80,12 +96,28 @@
     <ant target="install" antfile="${extensions.dir}/build.xml" inheritAll="false"/>
   </target>
 
+  <target name="build.samples">
+    <ant target="all" antfile="${samples.dir}/build.xml" inheritAll="false"/>
+  </target>
+
+  <target name="build.tools">
+    <ant target="all" antfile="${tools.dir}/build.xml" inheritAll="false"/>
+  </target>
+
   <target name="clean.core">
     <ant target="clean" antfile="${runtime.core.dir}/build.xml" inheritAll="false"/>
   </target>
 
   <target name="clean.extensions">
     <ant target="clean" antfile="${extensions.dir}/build.xml" inheritAll="false"/>
+  </target>
+
+  <target name="clean.tools">
+    <ant target="clean" antfile="${tools.dir}/build.xml" inheritAll="false"/>
+  </target>
+
+  <target name="clean.samples">
+    <ant target="clean" antfile="${samples.dir}/build.xml" inheritAll="false"/>
   </target>
 
 </project>

Modified: incubator/tuscany/cpp/sca/runtime/extensions/cpp/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/cpp/build.xml?rev=577914&r1=577913&r2=577914&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/extensions/cpp/build.xml (original)
+++ incubator/tuscany/cpp/sca/runtime/extensions/cpp/build.xml Thu Sep 20 14:00:04 2007
@@ -118,7 +118,7 @@
     <antcall target="compile.cpp.osoa"/>
     <antcall target="compile.cpp.core"/>
     <antcall target="compile.cpp.model"/>
-  	<ant target="scagen.jar" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/>
+    <ant target="scagen.jar" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/>
   </target>
 
   <target name="link" description="Link all TuscanyScaNative cpp extension source code">
@@ -147,7 +147,7 @@
         link="${lib.prefix}${tuscany.cpp.extension.lib}${lib.ext}"
         resourcedir="${cpp.extension.install.dir}/lib"
         resource="${lib.prefix}${tuscany.cpp.extension.lib}${lib.ext}"/>
-  	<ant target="install" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/>
+    <ant target="install" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/>
   </target>
 
   <target name="clean" description="Clean all TuscanyScaNative cpp extension compiled source code">

Added: incubator/tuscany/cpp/sca/samples/AlertAggregator/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/AlertAggregator/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/AlertAggregator/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/AlertAggregator/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_AlertAggregator" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/AlertAggregator"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative AlertAggregator sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative AlertAggregator sample">
+    <echo> The AlertAggregator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative AlertAggregator sample">
+    <echo> The AlertAggregator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative AlertAggregator sample">
+    <echo> The AlertAggregator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Modified: incubator/tuscany/cpp/sca/samples/CppBigBank/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/CppBigBank/build.xml?rev=577914&r1=577913&r2=577914&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/samples/CppBigBank/build.xml (original)
+++ incubator/tuscany/cpp/sca/samples/CppBigBank/build.xml Thu Sep 20 14:00:04 2007
@@ -38,7 +38,7 @@
     <property name="bigbank.phpwsclient.dir"    location="${this.dir}/bigbank.phpwsclient"/>
     <property name="scagen.jar"                 value="${tuscanySCA.install.dir}/extensions/cpp/bin/scagen.jar"/>
     <property name="CppBigBank.install.dir"
-              location="${tuscanySCA.install.dir}/samples/CppBigBank/deploy"/>
+              location="${tuscanySCA.install.dir}/samples/CppBigBank"/>
   </target>
 
   <!--

Added: incubator/tuscany/cpp/sca/samples/CppCalculator/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/CppCalculator/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/CppCalculator/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/CppCalculator/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,186 @@
+<?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_Sample_CppCalculator" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/CppCalculator"/>
+    <property name="sample.calculator.dir"            location="${this.dir}/sample.calculator"/>
+    <property name="sample.calculator.build.dir"      location="${sample.calculator.dir}/build"/>
+    <property name="sample.calculator.client.dir"     location="${this.dir}/sample.calculator.client"/>
+    <property name="sample.calculator.client.build.dir"
+              location="${sample.calculator.client.dir}/build"/>
+    <property name="CppCalculator.install.dir"
+              location="${tuscanySCA.install.dir}/samples/CppCalculator"/>
+    <property name="scagen.jar"
+              value="${tuscanySCA.install.dir}/extensions/cpp/bin/scagen.jar"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          description="build and install the TuscanyScaNative CppCalculator sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          description="build the TuscanyScaNative CppCalculator sample">
+    <antcall target="build.sample.calculator"/>
+    <antcall target="build.sample.calculator.client"/>
+  </target>
+
+  <target name="install"
+          description="Install the TuscanyScaNative CppCalculator sample">
+    <antcall target="install.sample.calculator"/>
+    <antcall target="install.sample.calculator.client"/>
+  </target>
+
+  <target name="clean"
+          description="Clean the TuscanyScaNative CppCalculator sample">
+    <antcall target="clean.sample.calculator"/>
+    <antcall target="clean.sample.calculator.client"/>
+    <delete dir="${CppCalculator.install.dir}" quiet="true"/>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+    <!-- build -->
+
+  <target name="build.sample.calculator" depends="init">
+       <!-- scagen -->
+    <mkdir dir="${sample.calculator.build.dir}"/>
+    <java jar="${scagen.jar}" fork="true">
+      <arg line="-dir ${sample.calculator.dir} -output ${sample.calculator.build.dir}"/>
+    </java>
+
+    <!-- put all the cpp/h files together with the scagen'd files to make the library -->
+    <copy todir="${sample.calculator.build.dir}">
+      <fileset dir="${sample.calculator.dir}" includes="*.h"/>
+      <fileset dir="${sample.calculator.dir}" includes="*.cpp"/>
+    </copy>
+
+    <!-- build the library -->
+    <cpp-build
+        srcdir="${sample.calculator.build.dir}"
+        infiles="*.cpp"
+        outdir="${sample.calculator.build.dir}/.libs"
+        outfile="Calculator">
+      <custom-build-elements>
+        <includepath path="${tuscanySCA.install.dir}/include"/>
+        <includepath path="${tuscanySCA.install.dir}/extensions/cpp/include"/>
+        <libset dir="${tuscanySCA.install.dir}/extensions/cpp/lib" libs="tuscany_sca_cpp"/>
+        <libset dir="${tuscanySCA.install.dir}/lib" libs="tuscany_sca"/>
+      </custom-build-elements>
+    </cpp-build>
+  </target>
+
+  <target name="build.sample.calculator.client" depends="init">
+    <cpp-build
+        srcdir="${sample.calculator.client.dir}"
+        infiles="CalculatorClient.cpp"
+        outdir="${sample.calculator.client.build.dir}"
+        outfile="calculator_client"
+        outtype="executable">
+      <custom-build-elements>
+        <includepath path="${tuscanySCA.install.dir}/include"/>
+        <includepath path="${tuscanySCA.install.dir}/extensions/cpp/include"/>
+        <includepath path="${sample.calculator.dir}"/>
+        <libset dir="${tuscanySCA.install.dir}/extensions/cpp/lib" libs="tuscany_sca_cpp"/>
+        <libset dir="${tuscanySCA.install.dir}/lib" libs="tuscany_sca"/>
+        <syslibset unless="windows" libs="dl"/>
+      </custom-build-elements>
+    </cpp-build>
+  </target>
+
+    <!-- install -->
+
+  <target name="install.sample.calculator" depends="init">
+      <!-- Install all the componentType files -->
+    <cpp-install-files
+        files="*.componentType"
+        srcdir="${sample.calculator.dir}"
+        destdir="${CppCalculator.install.dir}/sample.calculator"/>
+
+      <!-- Install the composites -->
+    <cpp-install-files
+        files="sample.calculator.app.composite"
+        srcdir="${this.dir}"
+        destdir="${CppCalculator.install.dir}"/>
+
+    <cpp-install-files
+        files="sample.calculator.composite"
+        srcdir="${sample.calculator.dir}"
+        destdir="${CppCalculator.install.dir}/sample.calculator"/>
+
+      <!-- Install the library -->
+    <condition property="calculator.lib.ext" value="${dll.ext}">
+      <os family="windows"/>
+    </condition>
+    <property name="calculator.lib.ext" value="${lib.ext}"/>
+    <cpp-install-file
+        srcfile="${lib.prefix}Calculator${calculator.lib.ext}"
+        destfile="${lib.prefix}Calculator${calculator.lib.ext}${tuscanySCA.library.version}"
+        srcdir="${sample.calculator.build.dir}/.libs"
+        destdir="${CppCalculator.install.dir}/sample.calculator"/>
+    <cpp-symlink
+        linkdir="${CppCalculator.install.dir}/sample.calculator"
+        link="${lib.prefix}Calculator${calculator.lib.ext}"
+        resource="${lib.prefix}Calculator${calculator.lib.ext}${tuscanySCA.library.version}"/>
+  </target>
+
+  <target name="install.sample.calculator.client" depends="init">
+    <cpp-install-file
+        srcfile="runclient${script.ext}"
+        srcdir="${sample.calculator.client.dir}"
+        destdir="${CppCalculator.install.dir}/sample.calculator.client"/>
+    <cpp-install-file
+        srcfile="calculator_client${exe.ext}"
+        srcdir="${sample.calculator.client.build.dir}"
+        destdir="${CppCalculator.install.dir}/sample.calculator.client"/>
+  </target>
+
+    <!-- clean -->
+
+  <target name="clean.sample.calculator" depends="init">
+    <delete dir="${sample.calculator.build.dir}" quiet="true"/>
+    <delete dir="${CppCalculator.install.dir}/sample.calculator" quiet="true"/>
+    <delete file="${CppCalculator.install.dir}/sample.calculator.app.composite" quiet="true"/>
+  </target>
+
+  <target name="clean.sample.calculator.client" depends="init">
+    <delete dir="${sample.calculator.client.build.dir}" quiet="true"/>
+    <delete dir="${CppCalculator.install.dir}/sample.calculator.client" quiet="true"/>
+  </target>
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/HttpdBigBank/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/HttpdBigBank/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_HttpdBigBank" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/HttpdBigBank"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative HttpdBigBank sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative HttpdBigBank sample">
+    <echo> The HttpdBigBank sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative HttpdBigBank sample">
+    <echo> The HttpdBigBank sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative HttpdBigBank sample">
+    <echo> The HttpdBigBank sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/PHPCalculator/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PHPCalculator/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PHPCalculator/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/PHPCalculator/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_PHPCalculator" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/PHPCalculator"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative PHPCalculator sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative PHPCalculator sample">
+    <echo> The PHPCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative PHPCalculator sample">
+    <echo> The PHPCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative PHPCalculator sample">
+    <echo> The PHPCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/PythonCalculator/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonCalculator/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/PythonCalculator/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_PythonCalculator" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/PythonCalculator"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative PythonCalculator sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative PythonCalculator sample">
+    <echo> The PythonCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative PythonCalculator sample">
+    <echo> The PythonCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative PythonCalculator sample">
+    <echo> The PythonCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_PythonWeatherForecast" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/PythonWeatherForecast"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative PythonWeatherForecast sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative PythonWeatherForecast sample">
+    <echo> The PythonWeatherForecast sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative PythonWeatherForecast sample">
+    <echo> The PythonWeatherForecast sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative PythonWeatherForecast sample">
+    <echo> The PythonWeatherForecast sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/RestCalculator/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RestCalculator/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RestCalculator/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/RestCalculator/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_RestCalculator" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/RestCalculator"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative RestCalculator sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative RestCalculator sample">
+    <echo> The RestCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative RestCalculator sample">
+    <echo> The RestCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative RestCalculator sample">
+    <echo> The RestCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/RestCustomer/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RestCustomer/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RestCustomer/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/RestCustomer/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_RestCustomer" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/RestCustomer"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative RestCustomer sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative RestCustomer sample">
+    <echo> The RestCustomer sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative RestCustomer sample">
+    <echo> The RestCustomer sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative RestCustomer sample">
+    <echo> The RestCustomer sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/RestYahoo/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RestYahoo/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RestYahoo/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/RestYahoo/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_RestYahoo" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/RestYahoo"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative RestYahoo sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative RestYahoo sample">
+    <echo> The RestYahoo sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative RestYahoo sample">
+    <echo> The RestYahoo sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative RestYahoo sample">
+    <echo> The RestYahoo sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/RubyBigBank/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyBigBank/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RubyBigBank/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/RubyBigBank/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_RubyBigBank" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/RubyBigBank"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative RubyBigBank sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative RubyBigBank sample">
+    <echo> The RubyBigBank sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative RubyBigBank sample">
+    <echo> The RubyBigBank sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative RubyBigBank sample">
+    <echo> The RubyBigBank sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/RubyCalculator/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyCalculator/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RubyCalculator/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/RubyCalculator/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_RubyCalculator" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/RubyCalculator"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative RubyCalculator sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative RubyCalculator sample">
+    <echo> The RubyCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative RubyCalculator sample">
+    <echo> The RubyCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative RubyCalculator sample">
+    <echo> The RubyCalculator sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/SupplyChain/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/SupplyChain/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/SupplyChain/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/SupplyChain/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,69 @@
+<?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_Sample_SupplyChain" default="all" basedir="../..">
+
+  <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.
+  -->
+
+  <target name="init">
+    <tstamp/>
+    <property name="this.dir" location="${basedir}/samples/SupplyChain"/>
+  </target>
+
+  <!--
+    Public targets
+  -->
+  <target name="all"
+          depends="init"
+          description="build and install the TuscanyScaNative SupplyChain sample">
+    <antcall target="build"/>
+    <antcall target="install"/>
+  </target>
+
+  <target name="build"
+          depends="init"
+          description="build the TuscanyScaNative SupplyChain sample">
+    <echo> The SupplyChain sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="install"
+          depends="init"
+          description="Install the TuscanyScaNative SupplyChain sample">
+    <echo> The SupplyChain sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <target name="clean"
+          depends="init"
+          description="Clean the TuscanyScaNative SupplyChain sample">
+    <echo> The SupplyChain sample ant build.xml file has not been implemented yet </echo>
+  </target>
+
+  <!--
+    Internal targets
+    They can still be called, they're just not described, so wont show up in "ant -p"
+  -->
+
+</project>

Added: incubator/tuscany/cpp/sca/samples/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/build.xml?rev=577914&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/build.xml (added)
+++ incubator/tuscany/cpp/sca/samples/build.xml Thu Sep 20 14:00:04 2007
@@ -0,0 +1,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>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org