summaryrefslogtreecommitdiffstats
path: root/sca-cpp/tags/cpp-stable-20060304/sca/samples
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:42:50 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:42:50 +0000
commitce91da1216fa068890a556305d8651092fb6c2a7 (patch)
treecd40b2b84f723518364229357c43cfa312b5f52c /sca-cpp/tags/cpp-stable-20060304/sca/samples
parentcbed62b2b62f88162b4fd1ce887a95575d6dbb5f (diff)
Cleaning up SVN structure, moving tag under sca-cpp/tags.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880622 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/tags/cpp-stable-20060304/sca/samples')
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.dsw53
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.ncbbin0 -> 50176 bytes
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.optbin0 -> 62976 bytes
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtbuild42
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtproject15
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.project19
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs6
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Calculator.h33
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.componentType10
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.cpp55
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.h39
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.dsp138
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.plg39
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/makefile43
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/objects.mk7
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/sources.mk20
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/subdir.mk35
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module11
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module.lin11
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/CalculatorSubsystem.dsp67
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/sca.subsystem23
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtbuild50
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtproject15
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.project19
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.settings/org.eclipse.cdt.managedbuilder.core.prefs6
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calc.cpp144
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calculator.h33
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.dsp108
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.plg16
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/makefile43
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/objects.mk7
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/sources.mk20
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/subdir.mk29
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/readme.txt53
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd14
-rwxr-xr-xsca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/build.sh75
-rw-r--r--sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/pack_deploy.cmd27
-rwxr-xr-xsca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/runclient.sh53
38 files changed, 1378 insertions, 0 deletions
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.dsw b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.dsw
new file mode 100644
index 0000000000..7df3d3cbe8
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.dsw
@@ -0,0 +1,53 @@
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "CalculatorModule"=.\CalculatorModule\CalculatorModule.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "CalculatorSubsystem"=.\CalculatorSubsystem\CalculatorSubsystem.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "Client"=.\Client\Client.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.ncb b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.ncb
new file mode 100644
index 0000000000..fd603e4f04
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.ncb
Binary files differ
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.opt b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.opt
new file mode 100644
index 0000000000..c399feabb4
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Calculator.opt
Binary files differ
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtbuild b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtbuild
new file mode 100644
index 0000000000..ca7fa895f1
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtbuild
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?fileVersion 3.0.0?>
+
+<ManagedProjectBuildInfo>
+<project id="CalculatorModule.cdt.managedbuild.target.gnu.so.2115154574" name="Shared Library (Gnu)" projectType="cdt.managedbuild.target.gnu.so">
+<configuration artifactExtension="so" artifactName="CalculatorModule" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.debug.749943809" name="Debug" parent="cdt.managedbuild.config.gnu.so.debug">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.debug.747727954" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.debug">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.debug.2096673794" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug.272459253" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug">
+<option id="gnu.cpp.compiler.option.preprocessor.def.1699183781" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
+<listOptionValue builtIn="false" value="_DEBUG"/>
+</option>
+<option id="gnu.cpp.compiler.option.include.paths.1309188567" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP}/include"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.debug.309707091" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.debug.1238966465" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.debug">
+<option id="gnu.cpp.link.option.libs.554536483" superClass="gnu.cpp.link.option.libs" valueType="libs">
+<listOptionValue builtIn="false" value="tuscany_sca"/>
+</option>
+<option id="gnu.cpp.link.option.paths.711270620" superClass="gnu.cpp.link.option.paths" valueType="stringList">
+<listOptionValue builtIn="false" value="${SCA4CPP}/lib"/>
+</option>
+</tool>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.debug.994221440" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.debug"/>
+<macros/>
+</toolChain>
+</configuration>
+<configuration artifactExtension="so" artifactName="CalculatorModule" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.release.1783471752" name="Release" parent="cdt.managedbuild.config.gnu.so.release">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.release.1347709342" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.release">
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.so.release.1942794586" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.so.release.206824555" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.so.release.1131565167" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.so.release.194271566" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.so.release.1863016598" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.release"/>
+</toolChain>
+</configuration>
+<macros/>
+</project>
+</ManagedProjectBuildInfo>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtproject b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtproject
new file mode 100644
index 0000000000..48a12e6664
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.cdtproject
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse-cdt version="2.0"?>
+
+<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
+<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
+<data>
+<item id="org.eclipse.cdt.core.pathentry">
+<pathentry kind="src" path=""/>
+<pathentry kind="out" path=""/>
+<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
+</item>
+</data>
+</cdtproject>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.project b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.project
new file mode 100644
index 0000000000..fa611e47c3
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.project
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>CalculatorModule</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ </natures>
+</projectDescription>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs
new file mode 100644
index 0000000000..415787c073
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs
@@ -0,0 +1,6 @@
+#Tue Dec 13 10:02:34 GMT 2005
+eclipse.preferences.version=1
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.debug.749943809=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.debug.749943809=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/project=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.so.debug.749943809=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Calculator.h b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Calculator.h
new file mode 100644
index 0000000000..9284178d5f
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Calculator.h
@@ -0,0 +1,33 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#ifndef CALCULATOR_H
+#define CALCULATOR_H
+class Calculator
+{
+public:
+ virtual float add(float arg1, float arg2) = 0;
+ virtual float sub(float arg1, float arg2) = 0;
+ virtual float mul(float arg1, float arg2) = 0;
+ virtual float div(float arg1, float arg2) = 0;
+};
+
+#endif
+
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.componentType b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.componentType
new file mode 100644
index 0000000000..2033f431bb
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.componentType
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="ASCII"?>
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <service name="CalculatorService">
+ <interface.cpp header="Calculator.h">
+ </interface.cpp>
+ </service>
+
+</componentType> \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.cpp b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.cpp
new file mode 100644
index 0000000000..96bd363167
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.cpp
@@ -0,0 +1,55 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#include "CalculatorImpl.h"
+
+CalculatorImpl::CalculatorImpl()
+{
+}
+
+CalculatorImpl::~CalculatorImpl()
+{
+}
+
+// Calculator interface
+float CalculatorImpl::add(float arg1, float arg2)
+{
+ float result = arg1 + arg2;
+ return result;
+}
+
+float CalculatorImpl::sub(float arg1, float arg2)
+{
+ float result = arg1 - arg2;
+ return result;
+}
+
+float CalculatorImpl::mul(float arg1, float arg2)
+{
+ float result = arg1 * arg2;
+ return result;
+}
+
+float CalculatorImpl::div(float arg1, float arg2)
+{
+ float result = arg1 / arg2;
+ return result;
+}
+
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.h b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.h
new file mode 100644
index 0000000000..38570aae28
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorImpl.h
@@ -0,0 +1,39 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#ifndef CALCULATORIMPL_H
+#define CALCULATORIMPL_H
+
+#include "Calculator.h"
+
+class CalculatorImpl : public Calculator
+{
+public:
+ CalculatorImpl();
+ virtual ~CalculatorImpl();
+
+ // Calculator interface
+ virtual float add(float arg1, float arg2);
+ virtual float sub(float arg1, float arg2);
+ virtual float mul(float arg1, float arg2);
+ virtual float div(float arg1, float arg2);
+};
+
+#endif
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.dsp b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.dsp
new file mode 100644
index 0000000000..43c6bfc044
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.dsp
@@ -0,0 +1,138 @@
+# Microsoft Developer Studio Project File - Name="CalculatorModule" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=CalculatorModule - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "CalculatorModule.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "CalculatorModule.mak" CFG="CalculatorModule - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "CalculatorModule - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "CalculatorModule - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "CalculatorModule - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+
+!ELSEIF "$(CFG)" == "CalculatorModule - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /I "$(SDO4CPP)/include" /I "$(SCA4CPP)/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /GZ /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"$(SDO4CPP)/lib" /libpath:"$(SCA4CPP)/lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "CalculatorModule - Win32 Release"
+# Name "CalculatorModule - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\CalculatorImpl.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Wrapper.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\Calculator.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Wrapper.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;module;componentType;fragment"
+# Begin Source File
+
+SOURCE=.\CalculatorImpl.componentType
+# End Source File
+# Begin Source File
+
+SOURCE=.\sca.module
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.plg b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.plg
new file mode 100644
index 0000000000..33016bffaf
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/CalculatorModule.plg
@@ -0,0 +1,39 @@
+<html>
+<body>
+<pre>
+<h1>Build Log</h1>
+<h3>
+--------------------Configuration: CalculatorModule - Win32 Debug--------------------
+</h3>
+<h3>Command Lines</h3>
+Creating temporary file "C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7D.tmp" with contents
+[
+/nologo /MDd /W3 /Gm /GX /ZI /I "D:\Development\tuscany\cpp\sdo/include" /I "D:\Development\tuscany\cpp\sca/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /Fp"Debug/CalculatorModule.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
+"D:\Development\tuscany\cpp\sca\samples\Calculator\CalculatorModule\CalculatorImpl.cpp"
+"D:\Development\tuscany\cpp\sca\samples\Calculator\CalculatorModule\CalculatorImpl_CalculatorService_Proxy.cpp"
+"D:\Development\tuscany\cpp\sca\samples\Calculator\CalculatorModule\CalculatorImpl_CalculatorService_Wrapper.cpp"
+]
+Creating command line "cl.exe @C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7D.tmp"
+Creating temporary file "C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7E.tmp" with contents
+[
+kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /incremental:yes /pdb:"Debug/CalculatorModule.pdb" /debug /machine:I386 /out:"Debug/CalculatorModule.dll" /implib:"Debug/CalculatorModule.lib" /pdbtype:sept /libpath:"D:\Development\tuscany\cpp\sdo/lib" /libpath:"D:\Development\tuscany\cpp\sca/lib"
+.\Debug\CalculatorImpl.obj
+.\Debug\CalculatorImpl_CalculatorService_Proxy.obj
+.\Debug\CalculatorImpl_CalculatorService_Wrapper.obj
+]
+Creating command line "link.exe @C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7E.tmp"
+<h3>Output Window</h3>
+Compiling...
+CalculatorImpl.cpp
+CalculatorImpl_CalculatorService_Proxy.cpp
+CalculatorImpl_CalculatorService_Wrapper.cpp
+Linking...
+ Creating library Debug/CalculatorModule.lib and object Debug/CalculatorModule.exp
+
+
+
+<h3>Results</h3>
+CalculatorModule.dll - 0 error(s), 0 warning(s)
+</pre>
+</body>
+</html>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/makefile b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/makefile
new file mode 100644
index 0000000000..1e7f19fce8
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/makefile
@@ -0,0 +1,43 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+ROOT := ..
+
+-include $(ROOT)/makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include $(SUBDIRS:%=%/subdir.mk)
+-include objects.mk
+ifneq ($(strip $(DEPS)),)
+-include $(DEPS)
+endif
+
+-include $(ROOT)/makefile.defs
+
+# Add inputs and outputs from these tool invocations to the build variables
+
+# All Target
+all: libCalculatorModule.so
+
+# Tool invocations
+libCalculatorModule.so: $(OBJS) $(USER_OBJS)
+ @echo 'Building target: $@'
+ @echo 'Invoking: GCC C++ Linker'
+ @echo g++ -L${SCA4CPP}/lib -shared -olibCalculatorModule.so $(OBJS) $(USER_OBJS) $(LIBS)
+ @g++ -L${SCA4CPP}/lib -shared -olibCalculatorModule.so $(OBJS) $(USER_OBJS) $(LIBS)
+ @echo 'Finished building target: $@'
+ @echo ' '
+
+# Other Targets
+clean:
+ -$(RM) $(OBJS)$(DEPS)$(LIBRARIES) libCalculatorModule.so
+ -@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include $(ROOT)/makefile.targets
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/objects.mk b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/objects.mk
new file mode 100644
index 0000000000..fbdb88403a
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/objects.mk
@@ -0,0 +1,7 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+LIBS := -ltuscany_sca
+
+USER_OBJS := \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/sources.mk b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/sources.mk
new file mode 100644
index 0000000000..8f0795952f
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/sources.mk
@@ -0,0 +1,20 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+C_UPPER_SRCS :=
+CPP_SRCS :=
+O_SRCS :=
+ASM_SRCS :=
+S_SRCS :=
+CXX_SRCS :=
+CC_SRCS :=
+OBJ_SRCS :=
+OBJS :=
+DEPS :=
+LIBRARIES :=
+
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/subdir.mk b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/subdir.mk
new file mode 100644
index 0000000000..dd98e3ddc6
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/Debug/subdir.mk
@@ -0,0 +1,35 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+CPP_SRCS += \
+$(ROOT)/CalculatorImpl.cpp \
+$(ROOT)/CalculatorImpl_CalculatorService_Proxy.cpp \
+$(ROOT)/CalculatorImpl_CalculatorService_Wrapper.cpp
+
+OBJS += \
+./CalculatorImpl.o \
+./CalculatorImpl_CalculatorService_Proxy.o \
+./CalculatorImpl_CalculatorService_Wrapper.o
+
+DEPS += \
+${addprefix ./, \
+CalculatorImpl.d \
+CalculatorImpl_CalculatorService_Proxy.d \
+CalculatorImpl_CalculatorService_Wrapper.d \
+}
+
+
+# Each subdirectory must supply rules for building sources it contributes
+%.o: $(ROOT)/%.cpp
+ @echo 'Building file: $<'
+ @echo 'Invoking: GCC C++ Compiler'
+ @echo g++ -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
+ @g++ -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
+ echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
+ g++ -MM -MG -P -w -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 $< >> $(@:%.o=%.d)
+ @echo 'Finished building: $<'
+ @echo ' '
+
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module
new file mode 100644
index 0000000000..c000e57411
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ASCII"?>
+<module xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
+ name="CalculatorModule">
+
+ <component name="CalculatorServiceComponent">
+ <implementation.cpp dll="CalculatorModule.dll" header="CalculatorImpl.h"></implementation.cpp>
+ <properties> </properties>
+ <references> </references>
+ </component>
+</module> \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module.lin b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module.lin
new file mode 100644
index 0000000000..2298b5910f
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorModule/sca.module.lin
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ASCII"?>
+<module xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
+ name="CalculatorModule">
+
+ <component name="CalculatorServiceComponent">
+ <implementation.cpp dll="libCalculatorModule.so" header="CalculatorImpl.h"></implementation.cpp>
+ <properties> </properties>
+ <references> </references>
+ </component>
+</module> \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/CalculatorSubsystem.dsp b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/CalculatorSubsystem.dsp
new file mode 100644
index 0000000000..ed7ceef2a4
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/CalculatorSubsystem.dsp
@@ -0,0 +1,67 @@
+# Microsoft Developer Studio Project File - Name="CalculatorSubsystem" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Generic Project" 0x010a
+
+CFG=CalculatorSubsystem - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "CalculatorSubsystem.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "CalculatorSubsystem.mak" CFG="CalculatorSubsystem - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "CalculatorSubsystem - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE "CalculatorSubsystem - Win32 Debug" (based on "Win32 (x86) Generic Project")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+MTL=midl.exe
+
+!IF "$(CFG)" == "CalculatorSubsystem - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+
+!ELSEIF "$(CFG)" == "CalculatorSubsystem - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Target_Dir ""
+
+!ENDIF
+
+# Begin Target
+
+# Name "CalculatorSubsystem - Win32 Release"
+# Name "CalculatorSubsystem - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\sca.subsystem
+# End Source File
+# End Target
+# End Project
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/sca.subsystem b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/sca.subsystem
new file mode 100644
index 0000000000..4b9fdd1511
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/CalculatorSubsystem/sca.subsystem
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+ Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+
+ Licensed 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.
+ -->
+
+<subsystem xmlns="http://www.osoa.org/xmlns/sca/0.9" name="CalculatorSubsystem">
+
+ <moduleComponent name="CalculatorService" module="CalculatorModule" />
+
+</subsystem>
+ \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtbuild b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtbuild
new file mode 100644
index 0000000000..68fe431c95
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtbuild
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?fileVersion 3.0.0?>
+
+<ManagedProjectBuildInfo>
+<project id="CalculatorClient.cdt.managedbuild.target.gnu.exe.1306251652" name="Executable (Gnu)" projectType="cdt.managedbuild.target.gnu.exe">
+<configuration artifactName="CalculatorClient" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.exe.debug.1274891422" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.336913789" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.787936814" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1771987671" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
+<option id="gnu.cpp.compiler.option.preprocessor.def.2054136150" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
+<listOptionValue builtIn="false" value="_DEBUG"/>
+</option>
+<option id="gnu.cpp.compiler.option.include.paths.1915103015" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP}/include"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/samples/Calculator/CalculatorModule"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.891767770" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.725133584" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
+<option id="gnu.cpp.link.option.libs.1823730610" superClass="gnu.cpp.link.option.libs" valueType="libs">
+<listOptionValue builtIn="false" value="tuscany_sca"/>
+<listOptionValue builtIn="false" value="tuscany_sdo"/>
+<listOptionValue builtIn="false" value="xml2"/>
+<listOptionValue builtIn="false" value="axis_clientC"/>
+<listOptionValue builtIn="false" value="axis_client"/>
+</option>
+<option id="gnu.cpp.link.option.paths.2134416340" superClass="gnu.cpp.link.option.paths" valueType="stringList">
+<listOptionValue builtIn="false" value="${SCA4CPP}/lib"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/lib"/>
+<listOptionValue builtIn="false" value="${AXISCPP_DEPLOY}/lib"/>
+</option>
+<option id="gnu.cpp.link.option.shared.1172886600" superClass="gnu.cpp.link.option.shared" value="false" valueType="boolean"/>
+</tool>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1196223857" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug"/>
+<macros/>
+</toolChain>
+</configuration>
+<configuration artifactName="CalculatorClient" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.exe.release.1644385997" name="Release" parent="cdt.managedbuild.config.gnu.exe.release">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.362092695" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1629456018" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.666893586" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1162480959" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.538369525" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.681891599" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"/>
+</toolChain>
+</configuration>
+<macros/>
+</project>
+</ManagedProjectBuildInfo>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtproject b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtproject
new file mode 100644
index 0000000000..48a12e6664
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.cdtproject
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse-cdt version="2.0"?>
+
+<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
+<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
+<data>
+<item id="org.eclipse.cdt.core.pathentry">
+<pathentry kind="src" path=""/>
+<pathentry kind="out" path=""/>
+<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
+</item>
+</data>
+</cdtproject>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.project b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.project
new file mode 100644
index 0000000000..20d79410f9
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.project
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>CalculatorClient</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ </natures>
+</projectDescription>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.settings/org.eclipse.cdt.managedbuilder.core.prefs
new file mode 100644
index 0000000000..64ec20058b
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/.settings/org.eclipse.cdt.managedbuilder.core.prefs
@@ -0,0 +1,6 @@
+#Tue Dec 13 10:20:35 GMT 2005
+eclipse.preferences.version=1
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.exe.debug.1274891422=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.exe.debug.1274891422=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/project=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.exe.debug.1274891422=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calc.cpp b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calc.cpp
new file mode 100644
index 0000000000..8322532617
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calc.cpp
@@ -0,0 +1,144 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#include "Calculator.h"
+#include "osoa/sca/sca.h"
+#include <iostream>
+#include <stdlib.h>
+
+using namespace osoa::sca;
+using namespace std;
+
+void usage();
+bool IsNumber(const char *p);
+
+int main(int argc, char* argv[])
+{
+ const char *operation;
+ float arg1 = 0;
+ float arg2 = 0;
+
+ if (argc == 4)
+ {
+ operation = argv[1];
+
+ if (!IsNumber(argv[2]))
+ {
+ cout << "Calc.exe: Argument 1 is not a number" << endl;
+ usage();
+ }
+ else
+ {
+ arg1 = atof(argv[2]);
+ }
+
+ if (!IsNumber(argv[3]))
+ {
+ cout << "Calc.exe: Argument 2 is not a number" << endl;
+ usage();
+ }
+ else
+ {
+ arg2 = atof(argv[3]);
+ }
+ }
+ else
+ {
+ usage();
+ }
+
+ try
+ {
+
+ // Set the default module environment variable: <subsystem>/<moduleName>
+ //char *defaultModule = "SCA4CPP_DEFAULT_MODULE=SubSystem2/CalculatorServiceModule";
+ //putenv(defaultModule);
+
+ // Locate a service
+ ModuleContext myContext = ModuleContext::getCurrent();
+ Calculator *calcService = (Calculator*) myContext.locateService("CalculatorServiceComponent");
+ if (calcService == 0)
+ {
+ cout << "Calc.exe: Unable to find Calculator service" << endl;
+ }
+ else
+ {
+ try
+ {
+ float result = 0;
+ if (strcmp(operation, "add") == 0)
+ {
+ result = calcService->add(arg1, arg2);
+ cout << "Calculator: add(" << arg1 << "," << arg2 << ") = " << result << endl;
+ }
+ else
+ if (strcmp(operation, "sub") == 0)
+ {
+ result = calcService->sub(arg1, arg2);
+ cout << "Calculator: sub(" << arg1 << "," << arg2 << ") = " << result << endl;
+ }
+ else
+ if (strcmp(operation, "mul") == 0)
+ {
+ result = calcService->mul(arg1, arg2);
+ cout << "Calculator: mul(" << arg1 << "," << arg2 << ") = " << result << endl;
+ }
+ else
+ if (strcmp(operation, "div") == 0)
+ {
+ result = calcService->div(arg1, arg2);
+ cout << "Calculator: div(" << arg1 << "," << arg2 << ") = " << result << endl;
+ }
+ else
+ {
+ cout << "Calculator: Unrecognized operation: " << operation << endl;
+ }
+ }
+ catch (char* x)
+ {
+ cout << "Calc.exe: exception caught: " << x << endl;
+ }
+ }
+
+ }
+ catch (ServiceRuntimeException& ex)
+ {
+ cout << ex << endl;
+ }
+ return 0;
+}
+
+void usage()
+{
+ cout << "Usage: calc add|sub|mul|div arg1 arg2" << endl;
+ exit(1);
+}
+
+bool IsNumber (const char *p)
+{
+ int len = strlen(p);
+ for (int i = 0; i < len; i++)
+ {
+ if (!isdigit (p[i]))
+ {
+ return false;
+ }
+ }
+ return true;
+}
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calculator.h b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calculator.h
new file mode 100644
index 0000000000..9284178d5f
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Calculator.h
@@ -0,0 +1,33 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#ifndef CALCULATOR_H
+#define CALCULATOR_H
+class Calculator
+{
+public:
+ virtual float add(float arg1, float arg2) = 0;
+ virtual float sub(float arg1, float arg2) = 0;
+ virtual float mul(float arg1, float arg2) = 0;
+ virtual float div(float arg1, float arg2) = 0;
+};
+
+#endif
+
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.dsp b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.dsp
new file mode 100644
index 0000000000..75a19ae815
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.dsp
@@ -0,0 +1,108 @@
+# Microsoft Developer Studio Project File - Name="Client" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Client - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "Client.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "Client.mak" CFG="Client - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Client - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "Client - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "Client - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+
+!ELSEIF "$(CFG)" == "Client - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /Od /I "$(SDO4CPP)/include" /I "$(SCA4CPP)/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sdo.lib tuscany_sca.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"$(SDO4CPP)/lib" /libpath:"$(SCA4CPP)/lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "Client - Win32 Release"
+# Name "Client - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\Calc.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\Calculator.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# Begin Source File
+
+SOURCE=.\readme.txt
+# End Source File
+# End Target
+# End Project
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.plg b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.plg
new file mode 100644
index 0000000000..0f33cc8711
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Client.plg
@@ -0,0 +1,16 @@
+<html>
+<body>
+<pre>
+<h1>Build Log</h1>
+<h3>
+--------------------Configuration: Client - Win32 Debug--------------------
+</h3>
+<h3>Command Lines</h3>
+
+
+
+<h3>Results</h3>
+Client.exe - 0 error(s), 0 warning(s)
+</pre>
+</body>
+</html>
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/makefile b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/makefile
new file mode 100644
index 0000000000..4fed2ace08
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/makefile
@@ -0,0 +1,43 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+ROOT := ..
+
+-include $(ROOT)/makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include $(SUBDIRS:%=%/subdir.mk)
+-include objects.mk
+ifneq ($(strip $(DEPS)),)
+-include $(DEPS)
+endif
+
+-include $(ROOT)/makefile.defs
+
+# Add inputs and outputs from these tool invocations to the build variables
+
+# All Target
+all: CalculatorClient
+
+# Tool invocations
+CalculatorClient: $(OBJS) $(USER_OBJS)
+ @echo 'Building target: $@'
+ @echo 'Invoking: GCC C++ Linker'
+ @echo g++ -L${SCA4CPP}/lib -L${SDO4CPP}/lib -L${AXISCPP_DEPLOY}/lib -oCalculatorClient $(OBJS) $(USER_OBJS) $(LIBS)
+ @g++ -L${SCA4CPP}/lib -L${SDO4CPP}/lib -L${AXISCPP_DEPLOY}/lib -oCalculatorClient $(OBJS) $(USER_OBJS) $(LIBS)
+ @echo 'Finished building target: $@'
+ @echo ' '
+
+# Other Targets
+clean:
+ -$(RM) $(OBJS)$(DEPS)$(EXECUTABLES) CalculatorClient
+ -@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include $(ROOT)/makefile.targets
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/objects.mk b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/objects.mk
new file mode 100644
index 0000000000..a6aa648eba
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/objects.mk
@@ -0,0 +1,7 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+LIBS := -ltuscany_sca -ltuscany_sdo -lxml2 -laxis_clientC -laxis_client
+
+USER_OBJS := \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/sources.mk b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/sources.mk
new file mode 100644
index 0000000000..3c384d3f72
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/sources.mk
@@ -0,0 +1,20 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+C_UPPER_SRCS :=
+CPP_SRCS :=
+O_SRCS :=
+ASM_SRCS :=
+S_SRCS :=
+CXX_SRCS :=
+CC_SRCS :=
+OBJ_SRCS :=
+OBJS :=
+DEPS :=
+EXECUTABLES :=
+
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/subdir.mk b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/subdir.mk
new file mode 100644
index 0000000000..3328b2862f
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/Debug/subdir.mk
@@ -0,0 +1,29 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+CPP_SRCS += \
+$(ROOT)/Calc.cpp
+
+OBJS += \
+./Calc.o
+
+DEPS += \
+${addprefix ./, \
+Calc.d \
+}
+
+
+# Each subdirectory must supply rules for building sources it contributes
+%.o: $(ROOT)/%.cpp
+ @echo 'Building file: $<'
+ @echo 'Invoking: GCC C++ Compiler'
+ @echo g++ -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -I${SCA4CPP_HOME}/samples/Calculator/CalculatorModule -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
+ @g++ -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -I${SCA4CPP_HOME}/samples/Calculator/CalculatorModule -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
+ echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
+ g++ -MM -MG -P -w -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -I${SCA4CPP_HOME}/samples/Calculator/CalculatorModule -O0 -g3 -Wall -c -fmessage-length=0 $< >> $(@:%.o=%.d)
+ @echo 'Finished building: $<'
+ @echo ' '
+
+
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/readme.txt b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/readme.txt
new file mode 100644
index 0000000000..615f1533b1
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/readme.txt
@@ -0,0 +1,53 @@
+Tuscany SCA for C++ Samples - Calculator Sample
+===============================================
+
+This is a very simple sample to show how an SCA module with a single component
+can be built and called from an executable.
+
+There are three sub projects in this workspace:
+ - CalculatorModule
+ This contains the source code and SCA artifacts for the SCA module. This
+ is the module that will be deployed into the SCA runtime.
+ - CalculatorSubsystem
+ This contains the sca.subsystem file which describes a subsystem to the
+ SCA runtime.
+ - Client
+ An example client which will call the service exposed by the single component
+ in the CalculatorModule.
+
+
+Build instructions
+------------------
+
+1) Build the SCA module.
+ - Set CalculatorModule project as the active project.
+ Right click->Set as active project
+
+ - Run the SCA generation tool to create the proxy and wrapper classes.
+ Either Tools->SCA Gen if you have added SCA Gen as an external tool
+ Or run from the command line:
+ scagen -dir <projectDirectory> -output <projectDirectory>
+ where the projectDirectory is the directory with the sca.module file.
+
+ - Rebuild All
+ Build->Rebuild All
+
+2) Package and deploy the SCA module
+ - There is a script file in the sca/samples/Calculator directory which will
+ copy across all the files needed for deployment to the Tuscany runtime.
+ On a command line run pack_deploy.cmd
+ As a default, the sample will be copied to sca/samples/runtime directory
+ Both the SCA module and the subsystem will be copied.
+
+3) Build the client
+ - Set the Client project as the active project.
+ Right click->Set as active project
+
+ - Rebuild All
+ Build->Rebuild All
+
+4) Run the client
+ - Use the command file in the sca/samples/Calculator/Client directory to run the
+ client. This command file will set the SCA environment variables before running
+ the client. For example,
+ runclient add 4 9
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd
new file mode 100644
index 0000000000..8aa6f24f65
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd
@@ -0,0 +1,14 @@
+@echo off
+rem Runs the client after setting the SCA environment variables to use the
+rem CalculatorSubsystem
+setlocal
+set SCA4CPP_SYSTEM_ROOT=%~d0%~p0\..\..\runtime
+
+rem Only need to specify the subsystem (and not the moduleComponent as well) because
+rem there is only one moduleComponent in the subsystem - it is a very simple sample.
+set SCA4CPP_DEFAULT_MODULE=CalculatorSubsystem
+
+rem Run the client
+%~d0%~p0\debug\Client.exe %*
+
+endlocal \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/build.sh b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/build.sh
new file mode 100755
index 0000000000..3e2dbcb0bc
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/build.sh
@@ -0,0 +1,75 @@
+#!/bin/sh
+
+# Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+#
+# Licensed 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.
+
+APFULLDIR=`pwd`
+
+export SCA4CPP_HOME="$APFULLDIR/../../"
+
+if [ x$SCA4CPP = x ]; then
+export SCA4CPP="$SCA4CPP_HOME"
+fi
+echo "Using SCA installed at $SCA4CPP"
+
+if [ x$AXISCPP_DEPLOY = x ]; then
+echo "AXISCPP_DEPLOY not set"
+exit;
+fi
+echo "Using Axis C++ installed at $AXISCPP_DEPLOY"
+
+if [ x$XERCES_DEPLOY = x ]; then
+echo "XERCES_DEPLOY not set"
+exit;
+fi
+echo "Using Xerces C++ installed at $XERCES_DEPLOY"
+
+if [ x$SDO4CPP = x ]; then
+echo "SDO4CPP not set"
+export SDO4CPP=$SCA4CPP_HOME/../sdo
+fi
+echo "Using SDO installed at $SDO4CPP"
+
+TEST_ROOT=$APFULLDIR
+
+cd $SCA4CPP/bin
+./scagen.sh -dir $TEST_ROOT/CalculatorModule -output $TEST_ROOT/CalculatorModule
+cd $TEST_ROOT/CalculatorModule/Debug
+make clean
+make
+
+cd $TEST_ROOT/Client/Debug
+make clean
+make
+
+TEST_SYSTEM=$TEST_ROOT/../runtime
+
+mkdir -p $TEST_SYSTEM/modules/CalculatorModule
+mkdir -p $TEST_SYSTEM/subsystems/CalculatorSubsystem
+
+cp $TEST_ROOT/CalculatorModule/sca.module.lin $TEST_SYSTEM/modules/CalculatorModule/sca.module
+cp $TEST_ROOT/CalculatorModule/*.componentType $TEST_SYSTEM/modules/CalculatorModule
+cp $TEST_ROOT/CalculatorModule/Calculator.h $TEST_SYSTEM/modules/CalculatorModule
+cp $TEST_ROOT/CalculatorModule/CalculatorImpl.h $TEST_SYSTEM/modules/CalculatorModule
+cp $TEST_ROOT/CalculatorModule/Debug/libCalculatorModule.so $TEST_SYSTEM/modules/CalculatorModule
+cp $TEST_ROOT/CalculatorSubsystem/sca.subsystem $TEST_SYSTEM/subsystems/CalculatorSubsystem
+
+export LD_LIBRARY_PATH=$SCA4CPP/lib:$SDO4CPP/lib:$LD_LIBRARY_PATH:$AXISCPP_DEPLOY/lib:$XERCES_DEPLOY/lib
+
+export TUSCANY_SCACPP=$SCA4CPP
+export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM
+export TUSCANY_SCACPP_DEFAULT_MODULE=CalculatorSubsystem
+
+cd $TEST_ROOT/Client
+Debug/CalculatorClient add 4 9
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/pack_deploy.cmd b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/pack_deploy.cmd
new file mode 100644
index 0000000000..eed6af8411
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/pack_deploy.cmd
@@ -0,0 +1,27 @@
+@echo off
+rem Will copy the correct files from the source tree for packaging and deployment of the
+rem SCA sample.
+setlocal
+set sourcePath=%~d0%~p0
+if . == %1. (
+set destinationPath=%sourcePath%..\runtime
+) ELSE (
+set destinationPath=%1
+)
+
+mkdir %destinationPath%\modules
+mkdir %destinationPath%\modules\CalculatorModule
+copy %sourcePath%\CalculatorModule\*.componentType %destinationPath%\modules\CalculatorModule
+copy %sourcePath%\CalculatorModule\sca.module %destinationPath%\modules\CalculatorModule
+copy %sourcePath%\CalculatorModule\Calculator.h %destinationPath%\modules\CalculatorModule
+copy %sourcePath%\CalculatorModule\CalculatorImpl.h %destinationPath%\modules\CalculatorModule
+
+copy %sourcePath%\CalculatorModule\debug\CalculatorModule.dll %destinationPath%\modules\CalculatorModule
+
+
+mkdir %destinationPath%\subsystems
+mkdir %destinationPath%\subsystems\CalculatorSubsystem
+copy %sourcePath%\CalculatorSubsystem\sca.subsystem %destinationPath%\subsystems\CalculatorSubsystem
+
+
+endlocal \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/runclient.sh b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/runclient.sh
new file mode 100755
index 0000000000..b16ec76414
--- /dev/null
+++ b/sca-cpp/tags/cpp-stable-20060304/sca/samples/Calculator/runclient.sh
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+#
+# Licensed 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.
+
+APFULLDIR=`pwd`
+export SCA4CPP_HOME="$APFULLDIR/../../"
+
+if [ x$SCA4CPP = x ]; then
+export SCA4CPP="$SCA4CPP_HOME"
+fi
+echo "Using SCA installed at $SCA4CPP"
+
+if [ x$AXISCPP_DEPLOY = x ]; then
+echo "AXISCPP_DEPLOY not set"
+exit;
+fi
+echo "Using Axis C++ installed at $AXISCPP_DEPLOY"
+
+if [ x$XERCES_DEPLOY = x ]; then
+echo "XERCES_DEPLOY not set"
+exit;
+fi
+echo "Using Xerces C++ installed at $XERCES_DEPLOY"
+
+if [ x$SDO4CPP = x ]; then
+echo "SDO4CPP not set"
+export SDO4CPP=$SCA4CPP_HOME/../sdo
+fi
+echo "Using SDO installed at $SDO4CPP"
+
+TEST_ROOT=$APFULLDIR
+TEST_SYSTEM=$TEST_ROOT/../runtime
+
+export LD_LIBRARY_PATH=$SCA4CPP/lib:$SDO4CPP/lib:$LD_LIBRARY_PATH:$AXISCPP_DEPLOY/lib:$XERCES_DEPLOY/lib
+
+export TUSCANY_SCACPP=$SCA4CPP
+export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM
+export TUSCANY_SCACPP_DEFAULT_MODULE=CalculatorSubsystem
+
+cd $TEST_ROOT/Client
+Debug/CalculatorClient add 4 9