summaryrefslogtreecommitdiffstats
path: root/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator
diff options
context:
space:
mode:
Diffstat (limited to 'tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator')
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/Makefile.am21
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README23
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README.html253
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/deploy.cmd56
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb25
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am23
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat49
-rwxr-xr-xtags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh49
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.solution.composite32
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl114
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb25
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am23
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat49
-rwxr-xr-xtags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh48
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite29
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl114
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb48
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb39
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Makefile.am24
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat49
-rwxr-xr-xtags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh48
-rw-r--r--tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite40
22 files changed, 0 insertions, 1181 deletions
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/Makefile.am b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/Makefile.am
deleted file mode 100644
index e111e518cf..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-# 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.
-
-deploydir=$(prefix)/samples/RubyCalculator/deploy
-SUBDIRS = sample.calculator sample.calculator.client sample.calculator.wsclient
-EXTRA_DIST = *.composite README.html
-deploy_DATA = *.composite
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README
deleted file mode 100644
index 4104ff46b6..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Tuscany SCA for C++ Samples - Calculator Sample
-===============================================
-
-This is a very simple sample to show how an SCA composite can wire together
-two components to implement a Calculator service and expose that service as
-a Web Service.
-
-There are three sub projects in this workspace:
- - sample.calculator
- This contains the source code and SCDL artifacts for the SCA Calculator.
- composite implementing the sample Calculator.
-
- - sample.calculator.client
- A sample client which does a local call to the Calculator service.
-
- - sample.calculator.wsclient
- A sample Axis2 Web Service client which calls the Calculator Web service.
-
-Additionally, there is the sample.calculator.solution.composite file. This
-describes the configuration of the SCA Calculator composite deployed to the
-SCA runtime.
-
-See the README.html file for instructions to build and run this sample
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README.html b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README.html
deleted file mode 100644
index ab9829741a..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/README.html
+++ /dev/null
@@ -1,253 +0,0 @@
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--
- 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.
--->
-
-<HTML>
-<HEAD>
- <META CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type">
- <META CONTENT="text/css" HTTP-EQUIV="Content-Style-Type">
- <STYLE MEDIA="all" TYPE="text/css">
-@import url("../../doc/css/maven-base.css");
-@import url("../../doc/css/maven-theme.css");
- </STYLE>
-
- <LINK HREF="../doc/css/maven-theme.css" MEDIA="print" REL="stylesheet"
- TYPE="text/css">
- <TITLE>Tuscany SCA for C++ Samples - RubyCalculator Sample</TITLE>
-</HEAD>
-
-<BODY>
-<DIV ID="bodyColumn">
- <DIV ID="contentBox">
- <DIV CLASS="section">
- <H2>Tuscany SCA for C++ Samples - RubyCalculator Sample</H2>
-
- <P>This is a very simple sample to show how an SCA composite can wire
- together two Ruby components to implement a Calculator service and expose
- that service as a Web Service.
- </P>
- <P>There are three sub projects in this workspace:</P>
- <UL>
- <LI>sample.calculator<BR/>
- This contains the Ruby scripts and SCDL artifacts for the SCA Calculator
- composite implementing the sample Calculator.
- </LI>
- <LI>sample.calculator.client<BR/>
- A sample client which does a local call to the Calculator service.
- </LI>
- <LI>sample.calculator.wsclient<BR/>
- A sample client which does a local call to a composite that contains a Web Service reference
- that calls the Calculator Web Service.
- </LI>
- </UL>
- <P>Additionally, there is the sample.calculator.solution.composite file. This
- describes the configuration of the SCA Calculator composite deployed to the SCA
- runtime.
- </P>
- </DIV>
-
- <DIV CLASS="section">
- <H2>Contents</H2>
- <OL>
- <LI><A HREF="#linuxbld">Building the Ruby samples on Linux</A></LI>
- <LI><A HREF="#linuxrun">Running the RubyCalculator sample on Linux:</A></LI>
- <UL>
- <LI><A HREF="#linuxbasic">Running the basic client</A></LI>
- <LI><A HREF="#linuxws">Running the Web Service client</A></LI>
- </UL>
- <LI><A HREF="#winbld">Building the RubyCalculator sample on Windows</A></LI>
- <LI><A HREF="#winrun">Running the RubyCalculator sample on Windows:</A></LI>
- <UL>
- <LI><A HREF="#winbasic">Running the basic client</A></LI>
- <LI><A HREF="#winws">Running the Web Service client</A></LI>
- </UL>
- <LI><A HREF="#help">Getting help</A></LI>
- </OL>
- </DIV>
-
-
- <DIV CLASS="section">
- <A NAME="linuxbld"><H2>Building the Ruby samples on Linux</H2></A>
- <P>If using the binary distribution the samples are built and installed in
- &lt;tuscany_sca_install_dir&gt;/samples - go directly to <A HREF="#linuxrun">Running the samples on Linux</A>.</P>
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL></LI>
- </LI>
- <LI>As the RubyCalculator sample is based on Ruby scripts, a specific compilation step is not necessary -
- only deployment is required. Deploy the Ruby samples only with the following command sequence:
- <UL>
- <LI>cd &lt;tuscany_sca_install_dir&gt;/samples</LI>
- <LI>./configure --enable-ruby --enable-cpp=no --prefix=$TUSCANY_SCACPP</LI>
- <LI>make install</LI>
- </UL>
- NOTE: If you don't provide the --prefix configure option, it will by default install into
- /usr/local/tuscany/sca/samples/RubyCalculator</LI>
- </OL>
- </DIV>
-
- <DIV CLASS="section">
- <A NAME="linuxrun"><H2>Running the RubyCalculator sample on Linux</H2></A>
- <A NAME="linuxbasic"><H3>RubyCalculator with basic client</H3></A>
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;</LI>
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;</LI>
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL>
- </LI>
- <LI>Run the sample with the following commands:
- <UL>
- <LI>cd &lt;tuscany_sca_install_dir&gt;/samples/RubyCalculator/deploy/sample.calculator.client</LI>
- <LI>./runclient.sh</LI>
- </UL>
- </LI>
- </OL>
- <A NAME="linuxws"><H3>RubyCalculator with Web Service client</H3></A>
- <OL>
- <LI>Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions
- found <A HREF="../../doc/Axis2CWSService.html">here</A>.
- </LI>
- <LI>Start the Axis2C simple http server:
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;</LI>
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;</LI>
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL>
- </LI>
- <LI>cd &lt;tuscany_sca_install_dir&gt;/samples/RubyCalculator/deploy/sample.calculator</LI>
- <LI>./runwsserver.sh</LI>
- </OL>
- </LI>
- <LI>Run the client:
- <OL>
- <LI>The following environment variable is required:
- <UL>
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL>
- </LI>
- <LI>cd &lt;tuscany_sca_install_dir&gt;/samples/RubyCalculator/deploy/sample.calculator.wsclient</LI>
- <LI>./runwsclient.sh</LI>
- </OL>
- </LI>
- </OL>
- </DIV>
-
- <DIV CLASS="section">
- <A NAME="winbld"><H2>Building the RubyCalculator sample on Windows</H2></A>
- <P>If using the binary distribution the samples are built and installed in
- &lt;tuscany_sca_install_dir&gt;\samples - go directly to <A HREF="#winrun">Running the samples on Windows</A>.</P>
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL></LI>
- </LI>
- <LI>As this sample is based on Ruby scripts, a specific compilation step is not necessary -
- only deployment is required. Deploy the sample with the following commands:
- <UL>
- <LI>cd &lt;tuscany_sca_install_dir&gt;\samples\RubyCalculator</LI>
- <LI>deploy.cmd</LI>
- </UL>
- </LI>
- </OL>
- </DIV>
-
- <DIV CLASS="section">
- <A NAME="winrun"><H2>Running the RubyCalculator sample on Windows</H2></A>
- <A NAME="winbasic"><H3>RubyCalculator with basic client</H3></A>
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;</LI>
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;</LI>
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL>
- </LI>
- <LI>Run the sample with the following commands:
- <UL>
- <LI>cd &lt;tuscany_sca_install_dir&gt;\samples\RubyCalculator\deploy\sample.calculator.client</LI>
- <LI>runclient.bat</LI>
- </UL>
- </LI>
- </OL>
- <A NAME="winws"><H3>RubyCalculator with Web Service client</H3></A>
- <OL>
- <LI>Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions
- found <A HREF="../../doc/Axis2CWSService.html">here</A>.
- </LI>
- <LI>Start the Axis2C simple http server:
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;</LI>
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;</LI>
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL>
- </LI>
- <LI>cd &lt;tuscany_sca_install_dir&gt;\samples\RubyCalculator\deploy\sample.calculator</LI>
- <LI>runwsserver.bat</LI>
- </OL>
- </LI>
- <LI>Run the client:
- <OL>
- <LI>The following environment variables are required:
- <UL>
- <LI>TUSCANY_SCACPP=&lt;path to installed Tuscany SCA&gt;</LI>
- <LI>TUSCANY_SDOCPP=&lt;path to installed Tuscany SDO&gt;</LI>
- <LI>AXIS2C_HOME=&lt;path to axis2c version 0.94&gt;</LI>
- </UL>
- </LI>
- <LI>cd &lt;tuscany_sca_install_dir&gt;\samples\RubyCalculator\deploy\sample.calculator.wsclient</LI>
- <LI>runwsclient.bat</LI>
- </OL>
- </LI>
- </OL>
- </DIV>
-
-
-
- <DIV CLASS="section">
- <A NAME="help"><H2>Getting Help</H2></A>
-
- <P>First place to look is at the Tuscany FAQ at
- <A HREF="http://incubator.apache.org/tuscany/faq.html"
- TARGET="_blank">http://incubator.apache.org/tuscany/faq.html</A> </P>
-
- <P>Any problem with this release can be reported to the Tuscany
- <A HREF="http://incubator.apache.org/tuscany/mail-lists.html"
- TARGET="_blank">mailing lists</A> or create a JIRA issue at&nbsp;<A HREF="http://issues.apache.org/jira/browse/Tuscany"
- TARGET="_blank">http://issues.apache.org/jira/browse/Tuscany</A>.</P>
- </DIV>
- </DIV>
-</DIV>
-</BODY>
-
-</HTML>
-
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/deploy.cmd b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/deploy.cmd
deleted file mode 100644
index 2609c3b1e5..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/deploy.cmd
+++ /dev/null
@@ -1,56 +0,0 @@
-@echo off
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-
-rem Will copy the correct files from the source tree for packaging and deployment of the
-rem SCA sample.
-setlocal
-set currentPath=%~d0%~p0
-set sourcePath=%currentPath%
-
-set deploydir=%TUSCANY_SCACPP%
-set samplesdir=%deploydir%\samples
-set calcdir=%samplesdir%\RubyCalculator
-
-if . == %1. (
-set destinationPath=%calcdir%\deploy
-) ELSE (
-set destinationPath=%1
-)
-
-if not exist %samplesdir% mkdir %samplesdir%
-if not exist %calcdir% mkdir %calcdir%
-if not exist %destinationPath% mkdir %destinationPath%
-if not exist %destinationPath%\sample.calculator mkdir %destinationPath%\sample.calculator
-copy %sourcePath%\sample.calculator\*.composite %destinationPath%\sample.calculator
-copy %sourcePath%\sample.calculator\*.rb %destinationPath%\sample.calculator
-copy %sourcePath%\sample.calculator\Calculator.wsdl %destinationPath%\sample.calculator
-copy %sourcePath%\sample.calculator\runwsserver.bat %destinationPath%\sample.calculator
-
-if not exist %destinationPath%\sample.calculator.client mkdir %destinationPath%\sample.calculator.client
-copy %sourcePath%\sample.calculator.client\CalculatorClient.rb %destinationPath%\sample.calculator.client
-copy %sourcePath%\sample.calculator.client\runclient.bat %destinationPath%\sample.calculator.client
-
-if not exist %destinationPath%\sample.calculator.wsclient mkdir %destinationPath%\sample.calculator.wsclient
-copy %sourcePath%\sample.calculator.wsclient\CalculatorWSClient.rb %destinationPath%\sample.calculator.wsclient
-copy %sourcePath%\sample.calculator.wsclient\sample.calculator.wsclient.composite %destinationPath%\sample.calculator.wsclient
-copy %sourcePath%\sample.calculator.wsclient\Calculator.wsdl %destinationPath%\sample.calculator.wsclient
-copy %sourcePath%\sample.calculator.wsclient\runwsclient.bat %destinationPath%\sample.calculator.wsclient
-
-copy %sourcePath%\*.composite %destinationPath%
-
-endlocal
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb
deleted file mode 100644
index 253928df0c..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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.
-#
-#
-
-require("tuscany_sca_ruby")
-
-calculator = SCA::locateService("CalculatorComponent")
-
-x = calculator.div(5, 2)
-print x, "\n"
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am
deleted file mode 100644
index 536a5f1072..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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.
-
-deploydir=$(prefix)/samples/RubyCalculator/deploy
-clientdir=$(deploydir)/sample.calculator.client
-
-client_DATA = *.rb
-client_SCRIPTS = runclient.sh
-EXTRA_DIST = runclient.sh *.rb
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat
deleted file mode 100644
index 4e9cc0f2cd..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat
+++ /dev/null
@@ -1,49 +0,0 @@
-@echo off
-
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-
-setlocal
-
-if "%TUSCANY_SCACPP%" == "" (
-echo "TUSCANY_SCACPP not set"
-goto end
-)
-echo using SCA installed at %TUSCANY_SCACPP%
-
-if "%TUSCANY_SDOCPP%" == "" (
-echo "TUSCANY_SDOCPP not set"
-goto end
-)
-echo using SDO installed at %TUSCANY_SDOCPP%
-
-if "%AXIS2C_HOME%" == "" (
-echo "AXIS2C_HOME not set"
-goto end
-)
-echo using Axis2C installed at %AXIS2C_HOME%
-
-set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\
-set TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorComponent
-
-set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH%
-
-cd %TUSCANY_SCACPP_SYSTEM_ROOT%\sample.calculator.client
-ruby -I%TUSCANY_SCACPP%\extensions\ruby\bin CalculatorClient.rb
-
-:end
-endlocal
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh
deleted file mode 100755
index 974dd2e41c..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-# 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.
-
-
-APFULLDIR=`pwd`
-
-if [ x$TUSCANY_SCACPP = x ]; then
-echo "TUSCANY_SCACPP not set"
-exit;
-fi
-echo "Using SCA installed at $TUSCANY_SCACPP"
-
-if [ x$TUSCANY_SDOCPP = x ]; then
-echo "TUSCANY_SDOCPP not set"
-exit;
-fi
-echo "Using SDO installed at $TUSCANY_SDOCPP"
-
-if [ x$AXIS2C_HOME = x ]; then
-echo "AXIS2C_HOME not set"
-exit;
-fi
-echo "Using Axis2C installed at $AXIS2C_HOME"
-
-TEST_SYSTEM=$APFULLDIR/../
-
-export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH
-
-export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM
-export TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorComponent
-
-cd $TUSCANY_SCACPP_SYSTEM_ROOT/sample.calculator.client
-ruby -I$TUSCANY_SCACPP/extensions/ruby/lib CalculatorClient.rb
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.solution.composite b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.solution.composite
deleted file mode 100644
index 0a8ae343db..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.solution.composite
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
--->
-
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- name="sample.calculator.solution">
-
- <component name="sample.calculator.CalculatorComponent">
- <implementation.composite name="sample.calculator" />
- </component>
-
- <component name="sample.calculator.CalculatorWSClientComponent">
- <implementation.composite name="sample.calculator.wsclient" />
- </component>
-
-</composite>
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl
deleted file mode 100644
index f74c3d5c33..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl
+++ /dev/null
@@ -1,114 +0,0 @@
-<?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.
--->
-
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://sample/calculator"
- targetNamespace="http://sample/calculator">
- <types>
- <xs:schema targetNamespace="http://sample/calculator"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://sample/calculator" elementFormDefault="qualified">
-
- <xs:element name="add">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="sub">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="mul">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="div">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="result">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="data" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- </xs:schema>
- </types>
-
- <message name="addRequestMsg">
- <part name="body" element="tns:add" />
- </message>
- <message name="subRequestMsg">
- <part name="body" element="tns:sub" />
- </message>
- <message name="mulRequestMsg">
- <part name="body" element="tns:mul" />
- </message>
- <message name="divRequestMsg">
- <part name="body" element="tns:div" />
- </message>
-
- <message name="calculatorResponseMsg">
- <part name="body" element="tns:result" />
- </message>
-
- <portType name="Calculator">
- <operation name="add">
- <input message="tns:addRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- <operation name="sub">
- <input message="tns:subRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- <operation name="mul">
- <input message="tns:mulRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- <operation name="div">
- <input message="tns:divRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- </portType>
-
-</definitions>
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb
deleted file mode 100644
index 4022f8a636..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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.
-#
-#
-
-require("tuscany_sca_ruby")
-
-calculator = SCA::locateService("CalculatorService")
-
-x = calculator.div(5, 2)
-print x, "\n"
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am
deleted file mode 100644
index baef3cbb92..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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.
-
-deploydir=$(prefix)/samples/RubyCalculator/deploy
-wsclientdir=$(deploydir)/sample.calculator.wsclient
-
-wsclient_DATA = *.rb *.wsdl *.composite
-wsclient_SCRIPTS = runwsclient.sh
-EXTRA_DIST = runwsclient.sh *.rb *.wsdl *.composite
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat
deleted file mode 100644
index f9a1ad62a7..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat
+++ /dev/null
@@ -1,49 +0,0 @@
-@echo off
-
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-
-setlocal
-
-if "%TUSCANY_SCACPP%" == "" (
-echo "TUSCANY_SCACPP not set"
-goto end
-)
-echo using SCA installed at %TUSCANY_SCACPP%
-
-if "%TUSCANY_SDOCPP%" == "" (
-echo "TUSCANY_SDOCPP not set"
-goto end
-)
-echo using SDO installed at %TUSCANY_SDOCPP%
-
-if "%AXIS2C_HOME%" == "" (
-echo "AXIS2C_HOME not set"
-goto end
-)
-echo using Axis2C installed at %AXIS2C_HOME%
-
-set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\
-set TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorWSClientComponent
-
-set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH%
-
-cd %TUSCANY_SCACPP_SYSTEM_ROOT%\sample.calculator.wsclient
-ruby -I%TUSCANY_SCACPP%\extensions\ruby\bin CalculatorWSClient.rb
-
-:end
-endlocal
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh
deleted file mode 100755
index ec4053fb74..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-# 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.
-
-APFULLDIR=`pwd`
-
-if [ x$TUSCANY_SCACPP = x ]; then
-echo "TUSCANY_SCACPP not set"
-exit;
-fi
-echo "Using SCA installed at $TUSCANY_SCACPP"
-
-if [ x$TUSCANY_SDOCPP = x ]; then
-echo "TUSCANY_SDOCPP not set"
-exit;
-fi
-echo "Using SDO installed at $TUSCANY_SDOCPP"
-
-if [ x$AXIS2C_HOME = x ]; then
-echo "AXIS2C_HOME not set"
-exit;
-fi
-echo "Using Axis2C installed at $AXIS2C_HOME"
-
-TEST_SYSTEM=$APFULLDIR/../
-
-export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH
-
-export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM
-export TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorWSClientComponent
-
-cd $TUSCANY_SCACPP_SYSTEM_ROOT/sample.calculator.wsclient
-ruby -I$TUSCANY_SCACPP/extensions/ruby/lib CalculatorWSClient.rb
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite
deleted file mode 100644
index 22d31b539c..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
--->
-
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- name="sample.calculator.wsclient">
-
- <reference name="CalculatorService">
- <interface.wsdl interface="http://sample/calculator#wsdl.interface(Calculator)"/>
- <binding.ws uri="http://localhost:9090/axis2/services/CalculatorService"/>
- </reference>
-
-</composite> \ No newline at end of file
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl
deleted file mode 100644
index f74c3d5c33..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl
+++ /dev/null
@@ -1,114 +0,0 @@
-<?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.
--->
-
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://sample/calculator"
- targetNamespace="http://sample/calculator">
- <types>
- <xs:schema targetNamespace="http://sample/calculator"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://sample/calculator" elementFormDefault="qualified">
-
- <xs:element name="add">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="sub">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="mul">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="div">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="param1" type="xs:float"/>
- <xs:element name="param2" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="result">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="data" type="xs:float"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- </xs:schema>
- </types>
-
- <message name="addRequestMsg">
- <part name="body" element="tns:add" />
- </message>
- <message name="subRequestMsg">
- <part name="body" element="tns:sub" />
- </message>
- <message name="mulRequestMsg">
- <part name="body" element="tns:mul" />
- </message>
- <message name="divRequestMsg">
- <part name="body" element="tns:div" />
- </message>
-
- <message name="calculatorResponseMsg">
- <part name="body" element="tns:result" />
- </message>
-
- <portType name="Calculator">
- <operation name="add">
- <input message="tns:addRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- <operation name="sub">
- <input message="tns:subRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- <operation name="mul">
- <input message="tns:mulRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- <operation name="div">
- <input message="tns:divRequestMsg" />
- <output message="tns:calculatorResponseMsg" />
- </operation>
- </portType>
-
-</definitions>
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb
deleted file mode 100644
index 36ed15ff9b..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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.
-#
-#
-
-class CalculatorImpl
-
- attr_writer :divideService
-
- def initialize()
- print "Ruby - CalculatorImpl.initialize\n"
- end
-
- def div(arg1, arg2)
- print "Ruby - CalculatorImpl.div\n"
- @divideService.divide(arg1.to_f, arg2.to_f)
- end
-
- def add(arg1, arg2)
- print "Ruby - CalculatorImpl.add\n"
- arg1.to_f + arg2.to_f
- end
-
- def sub(arg1, arg2)
- print "Ruby - CalculatorImpl.sub\n"
- arg1.to_f - arg2.to_f
- end
-
- def mul(arg1, arg2)
- print "Ruby - CalculatorImpl.mul\n"
- arg1.to_f * arg2.to_f
- end
-
-end \ No newline at end of file
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb
deleted file mode 100644
index c6615bfcfa..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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.
-#
-#
-
-class DivideImpl
-
- attr_writer :round
-
- def initialize()
- print "Ruby - DivideImpl.initialize\n"
- end
-
- def divide(arg1, arg2)
- print "Ruby - DivideImpl.divide ", arg1, " / ", arg2, "\n"
- res = arg1.to_f / arg2.to_f
- if @round then
- res = res.round
- print "DivideImpl.divide rounding\n"
- end
- print "DivideImpl.divide ", res, "\n"
- res
- end
-
-end \ No newline at end of file
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Makefile.am b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Makefile.am
deleted file mode 100644
index 2508e53093..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-# 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.
-
-deploydir=$(prefix)/samples/RubyCalculator/deploy
-compositedir=$(deploydir)/sample.calculator
-
-composite_SCRIPTS = runwsserver.sh
-
-composite_DATA = *.composite *.wsdl *.rb
-EXTRA_DIST = *.composite *.wsdl *.rb runwsserver.sh
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat
deleted file mode 100644
index 9870d4600d..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat
+++ /dev/null
@@ -1,49 +0,0 @@
-@echo off
-
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-
-setlocal
-
-if "%TUSCANY_SCACPP%" == "" (
-echo "TUSCANY_SCACPP not set"
-goto end
-)
-echo using SCA installed at %TUSCANY_SCACPP%
-
-if "%TUSCANY_SDOCPP%" == "" (
-echo "TUSCANY_SDOCPP not set"
-goto end
-)
-echo using SDO installed at %TUSCANY_SDOCPP%
-
-if "%AXIS2C_HOME%" == "" (
-echo "AXIS2C_HOME not set"
-goto end
-)
-echo using Axis2C installed at %AXIS2C_HOME%
-
-set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\
-set TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorComponent
-
-set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH%
-
-cd %AXIS2C_HOME%\bin
-.\axis2_http_server.exe
-
-:end
-endlocal
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
deleted file mode 100755
index 69906579b2..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-# 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.
-
-APFULLDIR=`pwd`
-
-if [ x$TUSCANY_SCACPP = x ]; then
-echo "TUSCANY_SCACPP not set"
-exit;
-fi
-echo "Using SCA installed at $TUSCANY_SCACPP"
-
-if [ x$TUSCANY_SDOCPP = x ]; then
-echo "TUSCANY_SDOCPP not set"
-exit;
-fi
-echo "Using SDO installed at $TUSCANY_SDOCPP"
-
-if [ x$AXIS2C_HOME = x ]; then
-echo "AXIS2C_HOME not set"
-exit;
-fi
-echo "Using Axis2C installed at $AXIS2C_HOME"
-
-TEST_SYSTEM=$APFULLDIR/../
-
-export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH
-
-export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM
-export TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorComponent
-
-cd $AXIS2C_HOME/bin
-./axis2_http_server
diff --git a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite b/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite
deleted file mode 100644
index 90f68e8234..0000000000
--- a/tags/cpp-1.0-incubating-M2-RC2/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite
+++ /dev/null
@@ -1,40 +0,0 @@
-<?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.
--->
-
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- name="sample.calculator">
-
- <service name="CalculatorService">
- <interface.wsdl interface="http://sample/calculator#wsdl.interface(Calculator)"/>
- <binding.ws/>
- <reference>CalculatorComponent</reference>
- </service>
-
- <component name="CalculatorComponent">
- <implementation.ruby script="CalculatorImpl.rb" class="CalculatorImpl"/>
- <reference name="divideService">DivideComponent</reference>
- </component>
-
- <component name="DivideComponent">
- <implementation.ruby script="DivideImpl.rb" class="DivideImpl"/>
- <property name="round">true</property>
- </component>
-
-</composite> \ No newline at end of file