From 034ecc7803559acdda5dd6c54ecc081665b19f61 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 16 Nov 2009 06:35:50 +0000 Subject: Cleaning up SVN structure, moving tag under sca-cpp/tags. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880618 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/samples/AUTHORS | 0 .../sca/samples/BigBank/Makefile.am | 21 - .../sca/samples/BigBank/README | 30 -- .../sca/samples/BigBank/README.html | 427 --------------------- .../BigBank/bigbank.account/AccountDataService.h | 64 --- .../AccountDataServiceImpl.componentType | 28 -- .../bigbank.account/AccountDataServiceImpl.cpp | 136 ------- .../bigbank.account/AccountDataServiceImpl.h | 61 --- .../BigBank/bigbank.account/AccountService.h | 52 --- .../BigBank/bigbank.account/AccountService.wsdl | 126 ------ .../AccountServiceImpl.componentType | 40 -- .../BigBank/bigbank.account/AccountServiceImpl.cpp | 130 ------- .../BigBank/bigbank.account/AccountServiceImpl.h | 44 --- .../samples/BigBank/bigbank.account/Makefile.am | 59 --- .../BigBank/bigbank.account/StockQuoteService.h | 36 -- .../StockQuoteServiceImpl.componentType | 29 -- .../bigbank.account/StockQuoteServiceImpl.cpp | 72 ---- .../bigbank.account/StockQuoteServiceImpl.h | 36 -- .../BigBank/bigbank.account/StockQuoteTypes.xsd | 37 -- .../BigBank/bigbank.account/StockQuoteWebService.h | 40 -- .../bigbank.account/StockQuoteWebService.wsdl | 165 -------- .../bigbank.account/bigbank.account.composite | 49 --- .../BigBank/bigbank.account/runwsserver.bat | 51 --- .../samples/BigBank/bigbank.account/runwsserver.sh | 48 --- .../BigBank/bigbank.accountmanagement.composite | 30 -- .../BigBank/bigbank.client/AccountClient.cpp | 129 ------- .../sca/samples/BigBank/bigbank.client/Makefile.am | 49 --- .../samples/BigBank/bigbank.client/runclient.bat | 50 --- .../samples/BigBank/bigbank.client/runclient.sh | 48 --- .../bigbank.phpwsclient/AccountService.wsdl | 126 ------ .../BigBank/bigbank.phpwsclient/Makefile.am | 22 -- .../sca/samples/BigBank/bigbank.phpwsclient/README | 137 ------- .../BigBank/bigbank.phpwsclient/bigaccount.php | 113 ------ .../BigBank/bigbank.phpwsclient/bigwelcome.php | 44 --- .../BigBank/bigbank.wsclient/AccountWSClient.cpp | 184 --------- .../samples/BigBank/bigbank.wsclient/Makefile.am | 44 --- .../bigbank.wsclient/axis2_Account_stub.cpp | 111 ------ .../BigBank/bigbank.wsclient/axis2_Account_stub.h | 71 ---- .../BigBank/bigbank.wsclient/runwsclient.bat | 32 -- .../BigBank/bigbank.wsclient/runwsclient.sh | 31 -- .../sca/samples/BigBank/deploy.bat | 67 ---- .../sca/samples/BigBank/deployclient.bat | 63 --- .../sca/samples/BigBank/deploywsclient.bat | 63 --- .../sca/samples/COPYING | 203 ---------- .../sca/samples/Calculator/Makefile.am | 21 - .../sca/samples/Calculator/README | 23 -- .../sca/samples/Calculator/README.html | 254 ------------ .../sca/samples/Calculator/deploy.bat | 67 ---- .../sca/samples/Calculator/deployclient.bat | 63 --- .../sca/samples/Calculator/deploywsclient.bat | 63 --- .../sample.calculator.client/CalculatorClient.cpp | 160 -------- .../sample.calculator.client/Makefile.am | 55 --- .../sample.calculator.client/runclient.bat | 48 --- .../sample.calculator.client/runclient.sh | 47 --- .../sample.calculator.solution.composite | 29 -- .../CalculatorWSClient.cpp | 186 --------- .../sample.calculator.wsclient/Makefile.am | 48 --- .../axis2_Calculator_stub.cpp | 178 --------- .../axis2_Calculator_stub.h | 85 ---- .../sample.calculator.wsclient/runwsclient.bat | 32 -- .../sample.calculator.wsclient/runwsclient.sh | 30 -- .../Calculator/sample.calculator/Calculator.h | 36 -- .../Calculator/sample.calculator/Calculator.wsdl | 161 -------- .../sample.calculator/CalculatorImpl.componentType | 31 -- .../sample.calculator/CalculatorImpl.cpp | 89 ----- .../Calculator/sample.calculator/CalculatorImpl.h | 41 -- .../samples/Calculator/sample.calculator/Divide.h | 34 -- .../sample.calculator/DivideImpl.componentType | 27 -- .../Calculator/sample.calculator/DivideImpl.cpp | 47 --- .../Calculator/sample.calculator/DivideImpl.h | 39 -- .../Calculator/sample.calculator/Makefile.am | 55 --- .../Calculator/sample.calculator/runwsserver.bat | 49 --- .../Calculator/sample.calculator/runwsserver.sh | 48 --- .../sample.calculator/sample.calculator.composite | 39 -- .../sca/samples/ChangeLog | 0 .../sca/samples/GettingStarted.html | 133 ------- .../sca/samples/INSTALL | 2 - .../sca/samples/LICENSE | 177 --------- .../sca/samples/Makefile.am | 36 -- .../sca/samples/MyValue/Client/Makefile.am | 28 -- .../sca/samples/MyValue/Client/MyValueClient.cpp | 184 --------- .../sca/samples/MyValue/Makefile.am | 39 -- .../MyValue/MyValueComposite/CustomerInfo.fragment | 39 -- .../MyValueComposite/CustomerInfo/CustomerInfo.h | 32 -- .../CustomerInfo/CustomerInfoImpl.componentType | 33 -- .../CustomerInfo/CustomerInfoImpl.cpp | 81 ---- .../CustomerInfo/CustomerInfoImpl.h | 38 -- .../MyValueComposite/CustomerInfo/Makefile.am | 32 -- .../samples/MyValue/MyValueComposite/Makefile.am | 27 -- .../MyValue/MyValueComposite/MyValue/Makefile.am | 34 -- .../MyValue/MyValueComposite/MyValue/MyValue.h | 34 -- .../MyValue/MyValueImpl.componentType | 39 -- .../MyValueComposite/MyValue/MyValueImpl.cpp | 147 ------- .../MyValue/MyValueComposite/MyValue/MyValueImpl.h | 37 -- .../MyValueComposite/MyValue/MyValueService.wsdl | 84 ---- .../MyValueComposite/MyValue/MyValueService.xsd | 42 -- .../StockQuoteService/StockQuoteService.h | 34 -- .../StockQuoteService/StockQuoteService.wsdl | 157 -------- .../samples/MyValue/MyValueComposite/sca.composite | 55 --- .../samples/MyValue/MyValueSubsystem/sca.subsystem | 30 -- .../sca/samples/MyValue/runMyValueClient.sh | 53 --- .../sca/samples/MyValue/server.wsdd | 40 -- tags/cpp-1.0-incubating-M2-final/sca/samples/NEWS | 0 .../cpp-1.0-incubating-M2-final/sca/samples/NOTICE | 2 - .../sca/samples/PythonCalculator/Makefile.am | 21 - .../sca/samples/PythonCalculator/README | 24 -- .../sca/samples/PythonCalculator/README.html | 268 ------------- .../sca/samples/PythonCalculator/deploy.cmd | 57 --- .../sample.calculator.client/Makefile.am | 23 -- .../sample.calculator.client/calculator_client.py | 50 --- .../sample.calculator.client/runclient.bat | 50 --- .../sample.calculator.client/runclient.sh | 49 --- .../sample.calculator.solution.composite | 32 -- .../sample.calculator.wsclient/Calculator.wsdl | 114 ------ .../sample.calculator.wsclient/Makefile.am | 23 -- .../calculator_wsclient.py | 50 --- .../sample.calculator.wsclient/runwsclient.bat | 50 --- .../sample.calculator.wsclient/runwsclient.sh | 49 --- .../sample.calculator.wsclient.composite | 30 -- .../sample.calculator/Calculator.wsdl | 161 -------- .../sample.calculator/CalculatorImpl.componentType | 32 -- .../sample.calculator/CalculatorImpl.py | 56 --- .../sample.calculator/DivideImpl.componentType | 31 -- .../sample.calculator/DivideImpl.py | 65 ---- .../PythonCalculator/sample.calculator/Makefile.am | 24 -- .../sample.calculator/runwsserver.bat | 50 --- .../sample.calculator/runwsserver.sh | 49 --- .../sample.calculator/sample.calculator.composite | 40 -- .../cpp-1.0-incubating-M2-final/sca/samples/README | 2 - .../sca/samples/RubyBank/Makefile.am | 21 - .../sca/samples/RubyBank/README | 22 -- .../sca/samples/RubyBank/README.html | 251 ------------ .../bigbank.account/AccountDataServiceImpl.rb | 72 ---- .../RubyBank/bigbank.account/AccountService.wsdl | 126 ------ .../RubyBank/bigbank.account/AccountServiceImpl.rb | 94 ----- .../samples/RubyBank/bigbank.account/Makefile.am | 24 -- .../bigbank.account/StockQuoteServiceImpl.rb | 41 -- .../RubyBank/bigbank.account/StockQuoteTypes.xsd | 40 -- .../bigbank.account/StockQuoteWebService.wsdl | 165 -------- .../bigbank.account/bigbank.account.composite | 53 --- .../RubyBank/bigbank.account/runwsserver.bat | 51 --- .../RubyBank/bigbank.account/runwsserver.sh | 48 --- .../RubyBank/bigbank.accountmanagement.composite | 29 -- .../RubyBank/bigbank.client/AccountClient.rb | 26 -- .../samples/RubyBank/bigbank.client/Makefile.am | 23 -- .../samples/RubyBank/bigbank.client/runclient.bat | 51 --- .../samples/RubyBank/bigbank.client/runclient.sh | 49 --- .../sca/samples/RubyBank/deploy.cmd | 53 --- .../sca/samples/RubyCalculator/Makefile.am | 21 - .../sca/samples/RubyCalculator/README | 23 -- .../sca/samples/RubyCalculator/README.html | 265 ------------- .../sca/samples/RubyCalculator/deploy.cmd | 56 --- .../sample.calculator.client/CalculatorClient.rb | 25 -- .../sample.calculator.client/Makefile.am | 23 -- .../sample.calculator.client/runclient.bat | 49 --- .../sample.calculator.client/runclient.sh | 49 --- .../sample.calculator.solution.composite | 32 -- .../sample.calculator.wsclient/Calculator.wsdl | 114 ------ .../CalculatorWSClient.rb | 25 -- .../sample.calculator.wsclient/Makefile.am | 23 -- .../sample.calculator.wsclient/runwsclient.bat | 49 --- .../sample.calculator.wsclient/runwsclient.sh | 48 --- .../sample.calculator.wsclient.composite | 29 -- .../sample.calculator/Calculator.wsdl | 114 ------ .../sample.calculator/CalculatorImpl.rb | 48 --- .../RubyCalculator/sample.calculator/DivideImpl.rb | 39 -- .../RubyCalculator/sample.calculator/Makefile.am | 24 -- .../sample.calculator/runwsserver.bat | 49 --- .../sample.calculator/runwsserver.sh | 48 --- .../sample.calculator/sample.calculator.composite | 40 -- .../supplychain.demo.solution.composite | 34 -- .../supplychain.demo/DemoClientImpl.componentType | 33 -- .../supplychain.demo/supplychain.demo.composite | 41 -- .../supplychain.logging/LoggerImpl.componentType | 28 -- .../supplychain.logging/LoggingFacility.wsdl | 37 -- .../supplychain.logging.composite | 34 -- .../supplychain.manufacturer/Manufacturer.wsdl | 39 -- .../ManufacturerImpl.componentType | 39 -- .../WarehouseCallback.wsdl | 38 -- .../supplychain.manufacturer.composite | 50 --- .../supplychain.manufacturerA.solution.composite | 30 -- .../supplychain.manufacturerB.solution.composite | 30 -- .../supplychain.manufacturerC.solution.composite | 30 -- .../supplychain.retailer.solution.composite | 66 ---- .../SupplyChain/supplychain.retailer/Retailer.wsdl | 39 -- .../RetailerImpl.componentType | 37 -- .../supplychain.retailer.composite | 46 --- .../supplychain.warehouse/Warehouse.wsdl | 38 -- .../WarehouseCallbackImpl.componentType | 34 -- .../WarehouseImpl.componentType | 39 -- .../supplychain.warehouse.composite | 62 --- .../sca/samples/autogen.sh | 31 -- .../sca/samples/build.sh | 62 --- .../sca/samples/configure.ac | 168 -------- .../BigBank/AccountClient/AccountClient.dsp | 116 ------ .../BigBank/AccountClient/AccountClient.mak | 214 ----------- .../projects/BigBank/Accounts/Accounts.dsp | 253 ------------ .../projects/BigBank/Accounts/Accounts.mak | 344 ----------------- .../ides/devstudio6/projects/BigBank/BigBank.dsw | 77 ---- .../ides/devstudio6/projects/BigBank/BigBank.ncb | Bin 164864 -> 0 bytes .../ides/devstudio6/projects/BigBank/BigBank.opt | Bin 64512 -> 0 bytes .../devstudio6/projects/BigBank/Build/Build.dsp | 63 --- .../devstudio6/projects/BigBank/Build/Build.mak | 152 -------- .../BigBank/WSAccountClient/WSAccountClient.dsp | 120 ------ .../BigBank/WSAccountClient/WSAccountClient.mak | 189 --------- .../ides/devstudio6/projects/BigBank/build.cmd | 24 -- .../devstudio6/projects/Calculator/Build/Build.dsp | 63 --- .../devstudio6/projects/Calculator/Build/Build.mak | 155 -------- .../devstudio6/projects/Calculator/Calculator.dsw | 77 ---- .../devstudio6/projects/Calculator/Calculator.ncb | Bin 148480 -> 0 bytes .../devstudio6/projects/Calculator/Calculator.opt | Bin 64512 -> 0 bytes .../projects/Calculator/Calculator/Calculator.dsp | 197 ---------- .../projects/Calculator/Calculator/Calculator.mak | 328 ---------------- .../projects/Calculator/Client/Client.dsp | 113 ------ .../projects/Calculator/Client/Client.mak | 214 ----------- .../projects/Calculator/WSClient/WSClient.dsp | 120 ------ .../projects/Calculator/WSClient/WSClient.mak | 222 ----------- .../ides/devstudio6/projects/Calculator/build.cmd | 24 -- .../ides/devstudio6/projects/Calculator/deploy.cmd | 73 ---- .../devstudio6/projects/Calculator/wsdeploy.cmd | 64 --- .../BigBank/AccountClient/AccountClient.vcproj | 157 -------- .../projects/BigBank/Accounts/Accounts.vcproj | 270 ------------- .../ides/devstudio7/projects/BigBank/BigBank.sln | 37 -- .../BigBank/WSAccountClient/WSAccountClient.vcproj | 163 -------- .../devstudio7/projects/Calculator/Calculator.sln | 39 -- .../devstudio7/projects/Calculator/Calculator.suo | Bin 13312 -> 0 bytes .../Calculator/Calculator/Calculator.vcproj | 224 ----------- .../projects/Calculator/Client/Client.vcproj | 157 -------- .../projects/Calculator/WSClient/WSClient.vcproj | 166 -------- .../sca/samples/scagen.bat | 37 -- 230 files changed, 16521 deletions(-) delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/AUTHORS delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README.html delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataService.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteService.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteTypes.xsd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/bigbank.account.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/runwsserver.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/runwsserver.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.accountmanagement.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/AccountClient.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/AccountService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigaccount.php delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigwelcome.php delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/AccountWSClient.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploy.bat delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deployclient.bat delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploywsclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/COPYING delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/README.html delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploy.bat delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deployclient.bat delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploywsclient.bat delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/CalculatorClient.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/CalculatorWSClient.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Divide.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/runwsserver.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/runwsserver.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/sample.calculator.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ChangeLog delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/GettingStarted.html delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/INSTALL delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/LICENSE delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/Makefile.am delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/MyValueClient.cpp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Makefile.am delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo.fragment delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfo.h delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.componentType delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.cpp delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.h delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/Makefile.am delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValue.h delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.componentType delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.cpp delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.h delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.wsdl delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.xsd delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.h delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.wsdl delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/sca.composite delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueSubsystem/sca.subsystem delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/runMyValueClient.sh delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/server.wsdd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/NEWS delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/NOTICE delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/README.html delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/deploy.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/calculator_client.py delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Calculator.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/calculator_wsclient.py delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Calculator.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.py delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.py delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/sample.calculator.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README.html delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/bigbank.account.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/runwsserver.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/runwsserver.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.accountmanagement.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/AccountClient.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/deploy.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/README delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/README.html delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/deploy.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/Makefile.am delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/DemoClientImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/supplychain.demo.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/supplychain.logging.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/Manufacturer.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/ManufacturerImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/WarehouseCallback.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/supplychain.manufacturer.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerA.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerB.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerC.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/Retailer.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/RetailerImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/supplychain.retailer.composite delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/autogen.sh delete mode 100755 tags/cpp-1.0-incubating-M2-final/sca/samples/build.sh delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/configure.ac delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.dsw delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.ncb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.opt delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/build.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.dsw delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.ncb delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.opt delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.dsp delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.mak delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/build.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/deploy.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/wsdeploy.cmd delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/BigBank.sln delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.sln delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.suo delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator/Calculator.vcproj delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Client/Client.vcproj delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/WSClient/WSClient.vcproj delete mode 100644 tags/cpp-1.0-incubating-M2-final/sca/samples/scagen.bat (limited to 'tags/cpp-1.0-incubating-M2-final/sca/samples') diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/AUTHORS b/tags/cpp-1.0-incubating-M2-final/sca/samples/AUTHORS deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/Makefile.am deleted file mode 100644 index aa315d4f46..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/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/BigBank/deploy -SUBDIRS = bigbank.account bigbank.client bigbank.wsclient bigbank.phpwsclient -EXTRA_DIST = *.composite README.html -deploy_DATA = *.composite diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README deleted file mode 100644 index dc919e1aed..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README +++ /dev/null @@ -1,30 +0,0 @@ -Tuscany SCA for C++ Samples - BigBank Sample -=============================================== - -This sample implements the "Simplified BigBank" scenario. A whitepaper -describing the scenario based on the SCA 0.9 Assembly specification can be -found here. This sample uses multiple C++ components, calls out to an -external Web Service via a reference, exposes the service as a Web Service -and also provides a PHP based client. - -There are four sub projects in this workspace: - - bigbank.account - This contains the source code and SCDL artifacts for the SCA BigBank - composite implementing the account services. - - - bigbank.client - A sample client which does a local call to the BigBank service. - - - bigbank.wsclient - A sample Axis2 Web Service client which calls the BigBank Web service. - - - bigbank.phpclient - A sample PHP client which calls the BigBank Web service and then - deconstructs and displays the result by using the SDO for PHP extension. - -Additionally, there is the bigbank.accountmanagement.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-final/sca/samples/BigBank/README.html b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README.html deleted file mode 100644 index 597d05de67..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/README.html +++ /dev/null @@ -1,427 +0,0 @@ - - - - - - - - - - - - Tuscany SCA for C++ Samples - BigBank Sample - - - -
-
-
-

Tuscany SCA for C++ Samples - BigBank Sample

- -

This sample implements the "Simplified BigBank" scenario. A whitepaper describing - the scenario based on the SCA 0.9 Assembly specification can be found - here. - This sample uses multiple C++ components, calls out to an external Web Service via a reference, - exposes the service as a Web Service and also provides a PHP based client. -

-

There are four sub projects in this workspace:

-
    -
  • bigbank.account
    - This contains the source code and SCDL artifacts for the SCA BigBank - composite implementing the account services. -
  • -
  • bigbank.client
    - A sample client which does a local call to the BigBank service. -
  • -
  • bigbank.wsclient
    - A sample Axis2 Web Service client which calls the BigBank Web service. -
  • -
  • bigbank.phpclient
    - A sample PHP client which calls the BigBank Web service and then deconstructs - and displays the result by using the - SDO for PHP extension. -

    This is a pair of very simple PHP scripts to demonstrate how the Accounts service - that the C++ Big Bank sample exposes can be used from within the PHP scripting - language. -

    -

    bigwelcome.php
    - A bootstrap script that shows a form and allows the user to press a button - in order to invoke the bigaccount.php script -

    -

    bigaccount.php
    - Makes a call to a locally installed BigBank Accounts service. The script - shows how to use PHP SDO and SOAP extensions to construct the call - and interpret the result. -

    -
  • -
-

Additionally, there is the bigbank.accountmanagement.composite file. This - describes the configuration of the SCA Calculator composite deployed to the SCA - runtime. -

- -
- - - - -
-

Building the C++ samples on Linux

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Linux.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. Build the C++ samples with the following command sequence: -
      -
    • cd <tuscany_sca_install_dir>/samples
    • -
    • ./configure --prefix=$TUSCANY_SCACPP --enable-static=no
    • -
    • make
    • -
    • make install
    • -
    - NOTE: If you don't provide the --prefix configure option, it will by default install into - /usr/local/tuscany/sca/samples/BigBank
  4. -
-
- -
-

Running the BigBank sample on Linux

-

BigBank with basic client

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.92>
    • -
    -
  2. -
  3. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/BigBank/deploy/bigbank.client
    • -
    • ./runclient.sh
    • -
    -
  4. -
-

BigBank with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/BigBank/deploy/bigbank.account -
    4. -
    5. ./runwsserver.sh
    6. -
    -
  4. -
  5. Run the client: -
      -
    1. The following environment variable is required: -
        -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/BigBank/deploy/bigbank.wsclient
    4. -
    5. ./runwsclient.sh
    6. -
    -
  6. -
-

BigBank with PHP web client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/BigBank/deploy/bin -
    4. -
    5. ./runwsserver.sh
    6. -
    -
  4. -
  5. To run the php scripts requires some configuration and setup of a php runtime with - the SDO and SimpleXML extensions enabled. The bits you will need are: - -

    Follow - these instructions to - install SDO and DAS. -

    -
  6. -
  7. You need to configure Apache to run PHP of course. This is well documented but this - is what to put at the end of httpd.conf: -
    # PHP5 Support
    -LoadModule php5_module "/home/php/php5.1.6/php5apache2.so"
    -AddType application/x-httpd-php .php
    -
    -# configure the path to php.ini
    -PHPIniDir "/home/php/php5.1.6"
    -
  8. -
  9. Copy the <tuscany_sca_install_dir>/samples/BigBank/bigbank.phpwsclient - directory to your Apache document root directory (by default this is named 'htdocs'). -
  10. -
  11. Finally, start your Apache web server. -
  12. -
  13. Run the PHP web client by pointing your browser at - http://localhost/bigbank.phpwsclient/welcome.php. - You should now be able to press the "GetAccount" button and see the values - returned from the BigBank SCA application. -
  14. - -
-
- -
-

Building the BigBank sample on Windows

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>\samples - go directly to Running the samples on Windows.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. You must have set up the environment for Microsoft Visual C++ tools. - The build command will call vcvars32 to set the environment. Ensure the - directory containing this is on your path. This will be where you - installed the compiler. -
  4. -
  5. Build the source, either via the Visual Studio 6 or 7 projects under - <tuscany_sca_install_dir>\samples\ides or via the command-line build file - found at <tuscany_sca_install_dir>\samples\ides\devstudio6\projects\BigBank\build.cmd - which will build and deploy the samples. -
  6. -
-
- -
-

Running the BigBank sample on Windows

-

BigBank with basic client

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  2. -
  3. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>\samples\BigBank\deploy\bigbank.client
    • -
    • runclient.bat
    • -
    -
  4. -
-

BigBank with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\BigBank\deploy\bigbank.account -
    4. -
    5. runwsserver.bat
    6. -
    -
  4. -
  5. Run the client: -
      -
    1. The following environment variable is required: -
        -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\BigBank\deploy\bigbank.wsclient
    4. -
    5. runwsclient.bat
    6. -
    -
  6. -
-

BigBank with PHP web client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\BigBank\deploy\bigbank.account -
    4. -
    5. runwsserver.bat
    6. -
    -
  4. -
  5. To run the php scripts requires some configuration and setup of a php runtime with - the SDO and SimpleXML extensions enabled. The bits you will need are: - -

    You can get Windows binary builds from - http://www.php.net/downloads.php. - For SDO you need two dlls as follows: -

    - -

    Copy these to the php5.1.6\ext dir ( php_soap.dll is already there) and add the - following to php.ini file (having already renamed php.ini-recommended to php.ini - of course) -

    extension=php_soap.dll
    -extension=php_sdo.dll
    -extension=php_sdo_das_xml.dll
    - I also changed the extension_dir directive to point to my extensions directory: -
    extension_dir="C:\php5.1.6\ext"
    -

    -

    Asking PHP to list what modules are active gives the following: -

    C:\php5.1.6>php -m
    -[PHP Modules]
    -bcmath
    -calendar
    -com_dotnet
    -ctype
    -date
    -dom
    -ftp
    -hash
    -iconv
    -libxml
    -odbc
    -pcre
    -Reflection
    -sdo
    -sdo_das_xml
    -session
    -SimpleXML
    -soap
    -SPL
    -standard
    -tokenizer
    -wddx
    -xml
    -xmlreader
    -xmlwriter
    -zlib
    -
    -[Zend Modules]
    - Of particular relevance to these scripts note that soap, sdo and sdo_das_xml are active. -

    -
  6. -
  7. You need to configure Apache to run PHP of course. This is well documented but this - is what to put at the end of httpd.conf: -
    # PHP5 Support
    -LoadModule php5_module "C:\php5.1.6\php5apache2.dll"
    -AddType application/x-httpd-php .php
    -
    -# configure the path to php.ini
    -PHPIniDir "C:\php5.1.6"
    -
  8. -
  9. Copy the <tuscany_sca_install_dir>\samples\BigBank\bigbank.phpwsclient - directory to your Apache document root directory (by default this is named 'htdocs'). -
  10. -
  11. Finally, start your Apache web server. -
  12. -
  13. Run the PHP web client by pointing your browser at - http://localhost/bigbank.phpwsclient/welcome.php. - You should now be able to press the "GetAccount" button and see the values - returned from the BigBank SCA application. -
  14. -
-
- - - -
-

Getting Help

- -

First place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at http://issues.apache.org/jira/browse/Tuscany.

-
-
-
- - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataService.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataService.h deleted file mode 100644 index 04000698e7..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataService.h +++ /dev/null @@ -1,64 +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. - */ - -/* $Rev$ $Date$ */ - -#include "commonj/sdo/SDO.h" - -#include -using std::string; - -namespace services -{ - namespace accountdata - { - - /** - * AccountDataService business interface - */ - class AccountDataService - { - public: - - // CheckingAccount is a data object containing - // string accountNumber - // float balance - - virtual commonj::sdo::DataObjectPtr /* CheckingAccount*/ getCheckingAccount( - const string id) = 0; - - // SavingsAccount is a data object containing - // string accountNumber - // float balance - - virtual commonj::sdo::DataObjectPtr /* SavingsAccount */ getSavingsAccount( - const string id) = 0; - - // StockAccount is a data object containing - // string accountNumber - // string symbol - // int quantity - - virtual commonj::sdo::DataObjectPtr /* StockAccount */ getStockAccount ( - const string id) = 0; - - }; - - } // End accountdata -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.componentType deleted file mode 100644 index b1cab9e1f9..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.componentType +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.cpp deleted file mode 100644 index 3f06809919..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.cpp +++ /dev/null @@ -1,136 +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. - */ - -/* $Rev$ $Date$ */ - -#if defined(WIN32) || defined (_WINDOWS) -#pragma warning(disable: 4786) -#endif - -#include "commonj/sdo/SDO.h" -#include "osoa/sca/sca.h" - -#include "AccountDataServiceImpl.h" - -using namespace commonj::sdo; -using namespace osoa::sca; - -/** - * AccountDataServiceImpl component implementation - */ - -namespace services -{ - namespace accountdata - { - - DataObjectPtr /* CheckingAccount*/ - AccountDataServiceImpl::getCheckingAccount(const string id) - { - try { - - DataFactoryPtr factory = ComponentContext::getCurrent().getDataFactory(); - - DataObjectPtr newaccount = - factory->create("http://www.bigbank.com/AccountService","CheckingAccount"); - - char* name = new char[id.size() + 10]; - strcpy(name,id.c_str()); - strcat(name,"_CHA12345"); - - newaccount->setCString("accountNumber",name); - - delete name; - - newaccount->setFloat("balance",1500.0f); - - return newaccount; - - } - catch (SDORuntimeException e) - { - return 0; - } - } - - - - DataObjectPtr /* SavingsAccount */ - AccountDataServiceImpl::getSavingsAccount(const string id) - { - try { - - DataFactoryPtr factory = ComponentContext::getCurrent().getDataFactory(); - - DataObjectPtr newaccount = - factory->create("http://www.bigbank.com/AccountService","SavingsAccount"); - - char* name = new char[id.size() + 10]; - strcpy(name,id.c_str()); - strcat(name,"_SAA12345"); - - newaccount->setCString("accountNumber",name); - - delete name; - - newaccount->setFloat("balance",1500.0f); - - return newaccount; - - } - catch (SDORuntimeException e) - { - return 0; - } - } - - - DataObjectPtr /* StockAccount */ - AccountDataServiceImpl::getStockAccount (const string id) - { - try { - - DataFactoryPtr factory = ComponentContext::getCurrent().getDataFactory(); - - DataObjectPtr newaccount = - factory->create("http://www.bigbank.com/AccountService","StockAccount"); - - char* name = new char[id.size() + 10]; - strcpy(name,id.c_str()); - strcat(name,"_STA12345"); - - newaccount->setCString("accountNumber",name); - - delete name; - - newaccount->setCString("symbol","IBM"); - - newaccount->setInteger("quantity",100); - - return newaccount; - - } - catch (SDORuntimeException e) - { - return 0; - } - } - - } // End accountdata -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.h deleted file mode 100644 index 373da4ba95..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountDataServiceImpl.h +++ /dev/null @@ -1,61 +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. - */ - -/* $Rev$ $Date$ */ - -#include "AccountDataService.h" - -namespace services -{ - namespace accountdata - { - - /** - * AccountDataServiceImpl component implementation class - */ - class AccountDataServiceImpl : public AccountDataService - { - public: - - // CheckingAccount is a data object containing - // string accountNumber - // float balance - - virtual DataObjectPtr /* CheckingAccount*/ getCheckingAccount( - const string id); - - // SavingsAccount is a data object containing - // string accountNumber - // float balance - - virtual DataObjectPtr /* SavingsAccount */ getSavingsAccount( - const string id); - - // StockAccount is a data object containing - // string accountNumber - // string symbol - // int quantity - - virtual DataObjectPtr /* StockAccount */ getStockAccount ( - const string id); - - }; - - } // End accountdata -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.h deleted file mode 100644 index b8e462fb72..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.h +++ /dev/null @@ -1,52 +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. - */ - -/* $Rev$ $Date$ */ - -#include "commonj/sdo/SDO.h" - -#include -using std::string; - -namespace services -{ - namespace account - { - - /** - * AccountService business interface - */ - class AccountService - { - public: - - // The account report data object has one many-valued - // property "accountSummaries", containing the following - // properties: - // string accountNumber - // string accountType - // float balance. - - virtual commonj::sdo::DataObjectPtr /*AccountReport*/ - getAccountReport(const string customerID) = 0; - - }; - - } // End account -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.wsdl deleted file mode 100644 index cbfe180692..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountService.wsdl +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.componentType deleted file mode 100644 index b65fa1dc18..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.componentType +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - USD - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.cpp deleted file mode 100644 index fd18119bad..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.cpp +++ /dev/null @@ -1,130 +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. - */ - -/* $Rev$ $Date$ */ - -#if defined(WIN32) || defined (_WINDOWS) -#pragma warning(disable: 4786) -#endif - -#include "osoa/sca/sca.h" - -#include "AccountServiceImpl.h" -#include "StockQuoteService.h" -#include "AccountDataService.h" - -using namespace osoa::sca; -using namespace services::accountdata; -using namespace services::stockquote; - -/** - * AccountServiceImpl component implementation - */ -namespace services -{ - namespace account - { - - DataObjectPtr /*AccountReport**/ - AccountServiceImpl::getAccountReport(const string customerID) - { - ComponentContext theContext = ComponentContext::getCurrent(); - - commonj::sdo::DataFactoryPtr factory = theContext.getDataFactory(); - - commonj::sdo::DataObjectPtr newReport = - factory->create("http://www.bigbank.com/AccountService","AccountReport"); - - // Get the accountDataService service - AccountDataService *dataService = - (AccountDataService*)theContext.getService("accountDataService"); - - // would be better to return a list of accounts - this only - // gets the first of each. - - commonj::sdo::DataObjectPtr checking = - dataService->getCheckingAccount(customerID); - - if (checking != 0) - { - commonj::sdo::DataObjectList& dl = newReport->getList("checking"); - checking->setFloat("balance", - fromUSDollarToCurrency(checking->getFloat("balance"))); - dl.append(checking); - } - - commonj::sdo::DataObjectPtr savings = dataService->getSavingsAccount(customerID); - - if (savings != 0) - { - commonj::sdo::DataObjectList& dl = newReport->getList("savings"); - savings->setFloat("balance", - fromUSDollarToCurrency(savings->getFloat("balance"))); - dl.append(savings); - } - - // Get the stockQuoteService service - StockQuoteService* stockService = - (StockQuoteService*)theContext.getService("stockQuoteService"); - - commonj::sdo::DataObjectPtr stocks = dataService->getStockAccount(customerID); - - if (stocks != 0) - { - commonj::sdo::DataObjectList& dl = newReport->getList("stocks"); - - float value = 10.0f; - try { - value = stockService->getQuote( - stocks->getCString("symbol")); - } - catch (ServiceRuntimeException& e) - { - std::cout << "Fault from stock quote service" << e << std::endl; - } - stocks->setFloat("balance", - fromUSDollarToCurrency(stocks->getInteger("quantity") * - value)); - dl.append(stocks); - } - - return newReport; - } - - float AccountServiceImpl::fromUSDollarToCurrency(float value) - { - // Get the "currency" property - ComponentContext myContext = ComponentContext::getCurrent(); - - commonj::sdo::DataObjectInstance properties = myContext.getProperties(); - if (properties) - { - const char* currency = properties->getCString("currency"); - if (currency != 0) - { - std::cout << "Currency is : " << currency << std::endl; - if (!strcmp(currency,"USD")) return value; - if (!strcmp(currency,"EURO")) return 0.8f * value; - } - } - return 0.0f; - } - - } // End account -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.h deleted file mode 100644 index 70dfc17b19..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/AccountServiceImpl.h +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * 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. - */ - -#include "AccountService.h" - - -namespace services -{ - namespace account - { - - /** - * AccountServiceImpl component implementation class - */ - class AccountServiceImpl: public AccountService - { - public: - - virtual DataObjectPtr /*AccountReport*/ - getAccountReport(const string customerID); - - private: - - float fromUSDollarToCurrency(float value); - - }; - - } // End account -} // End services - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/Makefile.am deleted file mode 100644 index 4e4d69e2d7..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/Makefile.am +++ /dev/null @@ -1,59 +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/BigBank/deploy -compositedir=$(deploydir)/bigbank.account - -BUILT_SOURCES = scagen - -noinst_HEADERS = *.h - -composite_SCRIPTS = runwsserver.sh - -scagen: - java -jar $(TUSCANY_SCACPP)/bin/scagen.jar -dir . -output . - -composite_LTLIBRARIES = libAccount.la -composite_DATA = *.composite *.componentType *.wsdl *.xsd -EXTRA_DIST = *.composite *.componentType *.wsdl *.xsd runwsserver.sh - -dist_libAccount_la_SOURCES = \ -AccountDataServiceImpl.cpp \ -AccountServiceImpl.cpp \ -StockQuoteServiceImpl.cpp - -nodist_libAccount_la_SOURCES = \ -AccountDataServiceImpl_AccountDataService_Proxy.cpp \ -AccountDataServiceImpl_AccountDataService_Wrapper.cpp \ -AccountServiceImpl_accountDataService_Proxy.cpp \ -AccountServiceImpl_AccountService_Proxy.cpp \ -AccountServiceImpl_AccountService_Wrapper.cpp \ -AccountServiceImpl_stockQuoteService_Proxy.cpp \ -StockQuoteServiceImpl_StockQuoteService_Proxy.cpp \ -StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp \ -StockQuoteServiceImpl_webService_Proxy.cpp - -libAccount_la_LIBADD = \ --L${TUSCANY_SCACPP}/lib \ - -ltuscany_sca \ --L${TUSCANY_SCACPP}/extensions/cpp/lib \ - -ltuscany_sca_cpp - -INCLUDES = \ - -I$(TUSCANY_SCACPP)/extensions/cpp/include \ - -I$(TUSCANY_SCACPP)/include \ - -I${TUSCANY_SDOCPP}/include diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteService.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteService.h deleted file mode 100644 index d67998059a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteService.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * Copyright 2006 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. - */ -#include -using std::string; - -namespace services -{ - namespace stockquote - { - /** - * StockQuoteService business interface - */ - class StockQuoteService - { - public: - - virtual float getQuote(const string symbol) = 0; - - }; - - } // End stockquote -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.componentType deleted file mode 100644 index 6ac2b77255..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.componentType +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.cpp deleted file mode 100644 index e78769f50e..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * - * Copyright 2006 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. - */ - -#if defined(WIN32) || defined (_WINDOWS) -#pragma warning(disable: 4786) -#endif - -#include "StockQuoteServiceImpl.h" -#include "StockQuoteWebService.h" - -#include "osoa/sca/sca.h" -#include "commonj/sdo/SDO.h" - -using namespace osoa::sca; -using namespace commonj::sdo; - -/** - * StockQuoteServiceImpl component implementation - */ -namespace services { - namespace stockquote { - - // Map the format returned by the StockQuote Web service to - // the format expected in the BigBank application - float StockQuoteServiceImpl::getQuote(const string symbol) - { - ComponentContext myContext = ComponentContext::getCurrent(); - - // Get the StockQuote Web service - StockQuoteWebService* webService = - (StockQuoteWebService*)myContext.getService("webService"); - - // Invoke the service - const string result = webService->GetQuote(symbol); - - float stockPrice = 0.0f; - - // Get the stock price out of the document returned by the StockQuote - // Web service - try - { - XMLHelperPtr xmlHelper = HelperProvider::getXMLHelper(myContext.getDataFactory()); - XMLDocumentPtr stockDoc = xmlHelper->load(result); - if (stockDoc->getRootDataObject()) - { - stockPrice=stockDoc->getRootDataObject()->getFloat("Stock.0/Last"); - } - } - catch (SDORuntimeException e) - { - std::cout << e << std::endl; - return 0.0f; - } - return stockPrice; - } - - } // End stockquote -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.h deleted file mode 100644 index cccf161454..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteServiceImpl.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * Copyright 2006 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. - */ - -#include "StockQuoteService.h" - -namespace services -{ - namespace stockquote - { - - /** - * StockQuoteServiceImpl component implementation class - */ - class StockQuoteServiceImpl : public StockQuoteService - { - public: - - virtual float getQuote(const string symbol); - }; - - } // End stockquote -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteTypes.xsd b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteTypes.xsd deleted file mode 100644 index 5bce3a63dc..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteTypes.xsd +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.h deleted file mode 100644 index 9bee445c8d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * - * Copyright 2006 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. - */ -#include -using std::string; - -namespace services -{ - namespace stockquote - { - - /** - * StockQuoteWebService business interface - * - * This is the interface of the Web service used to get - * live stock quotes. - */ - class StockQuoteWebService - { - public: - - virtual const string GetQuote(const string symbol) = 0; - - }; - - } // End stockquote -} // End services diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.wsdl deleted file mode 100644 index c14f97c87b..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/StockQuoteWebService.wsdl +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/bigbank.account.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/bigbank.account.composite deleted file mode 100644 index 7173d584d2..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/bigbank.account.composite +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - AccountServiceComponent - - - - - AccountDataServiceComponent - StockQuoteServiceComponent - EURO - - - - - - - - - StockQuoteWebService - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/runwsserver.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/runwsserver.bat deleted file mode 100644 index f95d5136ef..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/runwsserver.bat +++ /dev/null @@ -1,51 +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 APFULLDIR=%~d0%~p0 -set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ -set TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -rem Run the client -set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\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-final/sca/samples/BigBank/bigbank.account/runwsserver.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/runwsserver.sh deleted file mode 100755 index eb20a3d670..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.account/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/extensions/cpp/lib:$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -cd $AXIS2C_HOME/bin -./axis2_http_server diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.accountmanagement.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.accountmanagement.composite deleted file mode 100644 index 4bf2c35008..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.accountmanagement.composite +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/AccountClient.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/AccountClient.cpp deleted file mode 100644 index a0b9de5f76..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/AccountClient.cpp +++ /dev/null @@ -1,129 +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. - */ - -/* $Rev$ $Date$ */ - -#if defined(WIN32) || defined (_WINDOWS) -#pragma warning(disable: 4786) -#endif - -#include "AccountService.h" -#include "osoa/sca/sca.h" -#include -#include - -using namespace osoa::sca; -using namespace std; -using namespace services::account; -using namespace commonj::sdo; - -int main(int argc, char* argv[]) -{ - - if (argc != 2) - { - cout << "account_client: Argument must be the name of the account" << endl; - return 0; - } - try - { - - // Locate a service - CompositeContext myContext = CompositeContext::getCurrent(); - AccountService *accountService = - (AccountService*) myContext.locateService("AccountServiceComponent"); - if (accountService == 0) - { - cout << "account_client: Unable to find Account service" << endl; - } - else - { - try - { - // exercise the account service - - DataObjectPtr report = - accountService->getAccountReport(argv[1]); - - XMLHelperPtr xmlHelper = HelperProvider::getXMLHelper(myContext.getDataFactory()); - char* doc = xmlHelper->save(report, report->getType().getURI(), report->getType().getName()); - cout << "XML: " << doc <getList("stocks"); - - for (i=0;i< stocks.size() ;i++) - { - cout << "Stock Account " << stocks[i]->getCString("accountNumber") << endl; - cout << "Stock Symbol : " << stocks[i]->getCString("symbol") << endl; - cout << " Holding : " << stocks[i]->getCString("quantity") << endl; - balance = stocks[i]->getFloat("balance"); - sprintf(balanceStr,"%.2f",balance); - cout << " Value : " << balanceStr << endl << endl; - } - - DataObjectList& checking = report->getList("checking"); - - for (i=0;i< checking.size() ;i++) - { - cout << "Checking Account " << checking[i]->getCString("accountNumber") << endl; - balance = checking[i]->getFloat("balance"); - sprintf(balanceStr,"%.2f",balance); - cout << " Balance : " << balanceStr << endl << endl; - } - - DataObjectList& savings = report->getList("savings"); - - for (i=0;i< savings.size() ;i++) - { - cout << "Savings Account " << savings[i]->getCString("accountNumber") << endl; - balance = savings[i]->getFloat("balance"); - sprintf(balanceStr,"%.2f",balance); - cout << " Balance : " << balanceStr << endl << endl; - } - - cout << endl; - } - } - catch (SDORuntimeException& e) - { - cout << e << endl; - } - catch (char* x) - { - cout << "account_client: exception caught: " << x << endl; - } - } - - } - catch (ServiceRuntimeException& ex) - { - cout << ex << endl; - } - return 0; -} - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/Makefile.am deleted file mode 100644 index 3ca7379572..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/Makefile.am +++ /dev/null @@ -1,49 +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/BigBank/deploy -clientdir=$(deploydir)/bigbank.client - -client_PROGRAMS = account_client -client_SCRIPTS = runclient.sh -EXTRA_DIST = runclient.sh - -AM_CPPFLAGS = $(CPPFLAGS) -account_client_SOURCES = AccountClient.cpp - -account_client_LDADD = -L${TUSCANY_SCACPP}/lib -ltuscany_sca \ - -L${TUSCANY_SCACPP}/extensions/cpp/lib -ltuscany_sca_cpp \ - -L${TUSCANY_SDOCPP}/lib -ltuscany_sdo -ltuscany_sdo_axiom \ - -L$(AXIS2C_HOME)/lib \ - -laxis2_util \ - -laxis2_axiom \ - -laxis2_wsdl \ - -laxis2_engine \ - -lwoden \ - -lwoden_wsdl \ - -laxis2_xml_schema \ - -laxis2_parser \ - -laxis2_minizip \ - -lpthread \ - -laxis2_http_sender \ - -laxis2_http_receiver - - -INCLUDES = -I$(TUSCANY_SCACPP)/extensions/cpp/include \ - -I${TUSCANY_SCACPP}/include \ - -I${TUSCANY_SDOCPP}/include \ - -I../bigbank.account diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.bat deleted file mode 100644 index e8907e9302..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.bat +++ /dev/null @@ -1,50 +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 APFULLDIR=%~d0%~p0 -set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ -set TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -rem Run the client -set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% - -.\AccountClient.exe 1234 - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.sh deleted file mode 100755 index 54f3c27578..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.client/runclient.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/extensions/cpp/lib:$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -./account_client 1234 - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/AccountService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/AccountService.wsdl deleted file mode 100644 index cbfe180692..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/AccountService.wsdl +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/Makefile.am deleted file mode 100644 index 48843d8e56..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/Makefile.am +++ /dev/null @@ -1,22 +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/BigBank/deploy -phpwsclientdir=$(deploydir)/bigbank.phpwsclient - -phpwsclient_DATA = *.php *.wsdl README -EXTRA_DIST = *.php *.wsdl README diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/README deleted file mode 100644 index d02873e860..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/README +++ /dev/null @@ -1,137 +0,0 @@ -Big Bank PHP Client -=================== - -Overview --------- - -This is a pair of very simple PHP scripts to demonstrate how the Accounts service -that the C++ Big Bank sample exposes can be used from within the PHP scripting -language. - -bigwelcome.php - A bootstrap script that shows a form and allows the user to press a button - in order to invoke the bigaccount.php script - -bigaccount.php - Makes a call to a locally installed BigBank Accounts service. The script - shows how to use PHP SDO and SOAP extensions to construct the call - and interpret the result. - -As this is a very simple test client once you have reached bigaccount.php you are done. -So there are no further buttons other than the browser back button. - -Installation ------------- - -This assumes that you have the BigBank sample runnig as a web service in your local -Axis2C container at http://localhost:9090/axis2/services/AccountService - -To run the php scripts requires some configuration and setup of a php runtime with -the SDO and SimpleXML extensions enabled. The bits you will need are: - -Apache web server - http://httpd.apache.org/ (I'm currently at 2.0.55) -PHP 5.1.6 - http://www.php.net/downloads.php (I'm currently at 5.1.6) -PHP SDO - http://pecl.php.net/package/sdo (I'm currently at 1.0.3) - -Windows -------- -If you are on windows you can get binary builds from http://www.php.net/downloads.php. -For SDO you need two dlls as followd - -php_sdo.dll http://pecl4win.php.net/ext.php/php_sdo.dll -php_sdo_das_xml.dll http://pecl4win.php.net/ext.php/php_sdo_das_xml.dll - -I copied these to my php5.1.6/ext dir ( php_soap.dll is already there) - -And added the following to my php.ini file (having already renamed php.ini-recommended to -php.ini of course) - -extension=php_soap.dll -extension=php_sdo.dll -extension=php_sdo_das_xml.dll - -I also changed the extension_dir directive to point to my extensions directory: - -extension_dir="C:/simon/apps/php5.1.6/ext" - -When I ask PHP to list what modules are active in my version of PHP I get the -following - -C:\simon\apps\php5.1.6>php -m -[PHP Modules] -bcmath -calendar -com_dotnet -ctype -date -dom -ftp -hash -iconv -libxml -odbc -pcre -Reflection -sdo -sdo_das_xml -session -SimpleXML -soap -SPL -standard -tokenizer -wddx -xml -xmlreader -xmlwriter -zlib - -[Zend Modules] - -Of particular relevance to these scripts note that soap, sdo and sd_das_xml are active. - -Other Platforms ---------------- - -If your on on another platform, such as Linux, then you will need to compile the -SDO extension. The documentation at the SDO extension page (http://livedocs.phpdoc.info/index.php?l=en&q=ref.sdo) -is currently a bit missleading and needs updating. What you need to do is do a -phpize build of the SDO PECL extension. This is discussed in the SDO documentation -but is also discussed in many other places, for example, http://www.php.net/manual/en/install.pecl.phpize.php. -Here is not the time to go into the details of how to build PHP extensions using -phpize but if you are familar with the process I use the following configure line -on windows. - -cscript configure.js --with-extra-includes=c:\simon\projects\tuscany\php\win32build\include; - c:\simon\apps\libxml2-2.6.23.win32\include; - c:\simon\apps\iconv-1.9.1.win32\include - --with-extra-libs=c:\simon\projects\tuscany\php\win32build\lib; - c:\simon\apps\libxml2-2.6.23.win32\lib; - c:\simon\apps\iconv-1.9.1.win32\lib - --enable-sdo=shared - --enable-soap - -There are no newlines in my command line by the way. I've just included them -here so you can see the command. - -Running -------- - -You need to configure Apache to run PHP of course. This is well documented but this -is what I put at the end of httpd.conf - -# PHP5 Support -LoadModule php5_module "C:/simon/apps/php5.1.6/php5apache2.dll" -AddType application/x-httpd-php .php - -# configure the path to php.ini -PHPIniDir "C:/simon/apps/php5.1.6" - -Having set up Apache all that remains is to - -- put the bigbank.phpwsclient directory in your web server's root documents directory -- start up the Axis2C runtime configured to run BigBank -- point your browser at http://myserver:port/bigbank.phpwsclient/bigwelcome.php - -You should now be able to press the "GetAccount" button and see the values -returned from the BigBank SCA application. diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigaccount.php b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigaccount.php deleted file mode 100644 index b9f77d3297..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigaccount.php +++ /dev/null @@ -1,113 +0,0 @@ - - - BigBank Sample - - - - - - -getAccountReport($accountname); - // we have to construct an object hierarchy that matches the - // WSDL request. We can use SDO to do this for us - - // configure SDO based on the WSDL - $xmldas = SDO_DAS_XML::create("AccountService.wsdl"); - - // Get a document that represents the request - // and get the root element - $requestxdoc = $xmldas->createDocument("getAccountReport"); - $requestsdo = $requestxdoc->getRootDataObject(); - - // add the parameter - $requestsdo['customerID'] = $accountname; - - // make the call - $result = $client->getAccountReport($requestsdo); - - // now we have the result as a PHP object - // we can turn this into an SDO but we have to do it manually - // as the SOAP extension won't generate types for us - // automatically just yet - $responsexdoc = $xmldas->createDocument("getAccountReportResponse"); - $responsesdo = $responsexdoc->getRootDataObject(); - - // flesh out the object hierarchy - $account = $responsesdo->createDataObject ('result'); - $checking = $account->createDataObject ('checking'); - $saving = $account->createDataObject ('savings'); - $stocks = $account->createDataObject ('stocks'); - - //copy the data - $checking['accountNumber'] = $result->result->checking->accountNumber; - $checking['balance'] = $result->result->checking->balance; - //etc.. - // This is a bit rubbish as we would want this to happen automatically - - // Now just put the data on the screen - // To do this we don't need to use SDO as you can see but - // it would be really handy if we wanted to pass the XML doc - // onto another service or if we wanted to do some other - // more complex XML manipulation or XPath searches - echo "

Account $accountname

"; - echo "

Checking Account

"; - echo ""; - echo ""; - echo "
Account Number $checking->accountNumber
Balance $checking->balance

Saving Account

"; - echo ""; - echo ""; - echo "
Account Number" . $result->result->savings->accountNumber . "
Balance" . $result->result->savings->balance . "

Stock Account

"; - echo ""; - echo ""; - echo ""; - echo ""; - echo "
Account Number" . $result->result->stocks->accountNumber . "
Symbol" . $result->result->stocks->symbol . "
Quantity" . $result->result->stocks->quantity . "
Banalce" . $result->result->stocks->balance . "
"; - } - catch (SoapFault $f) - { - echo "Caught soap exception: \n"; - print_r ( $f ); - } - } - catch ( Exception $e ) - { - echo "Caught exception: \n"; - print_r ( $e ); - - } -?> diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigwelcome.php b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigwelcome.php deleted file mode 100644 index 32159ddc16..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.phpwsclient/bigwelcome.php +++ /dev/null @@ -1,44 +0,0 @@ - - - - BigBank Sample - - - - - - - - -

Welcome To The BigBank Sample

- -
- Please enter your account ID - - -
- -
- - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/AccountWSClient.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/AccountWSClient.cpp deleted file mode 100644 index b31959170f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/AccountWSClient.cpp +++ /dev/null @@ -1,184 +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. - */ - -/* $Rev$ $Date$ */ - -#include "axis2_Account_stub.h" -#include -#include -#include -#include -#include - -axiom_node_t * -build_om_programatically(const axis2_env_t *env, - const axis2_char_t *operation, - const axis2_char_t *param1 - ); - -int main(int argc, char** argv) -{ - axis2_stub_t *stub = NULL; - axiom_node_t *node = NULL; - axis2_status_t status = AXIS2_FAILURE; - const axis2_env_t *env = NULL; - const axis2_char_t *address = NULL; - const axis2_char_t *client_home = NULL; - axiom_node_t *ret_node = NULL; - - const axis2_char_t *operation = "getAccountReport"; - const axis2_char_t *param1 = "ED"; - - env = axis2_env_create_all( "BigBank_blocking.log", AXIS2_LOG_LEVEL_TRACE); - - client_home = AXIS2_GETENV("AXIS2C_HOME"); - if (!client_home) - client_home = "../../deploy"; - - address = "http://localhost:9090/axis2/services/AccountService"; - if (argc > 1 ) - operation = argv[1]; - if (AXIS2_STRCMP(operation, "-h") == 0) - { - printf("Usage : %s [operation] [param1] [endpoint_url]\n", argv[0]); - printf("use -h for help\n"); - printf("default operation add\n"); - printf("default param1 %s\n", param1); - printf("default endpoint_url %s\n", address); - printf("NOTE: command line arguments must appear in given order, with trailing ones being optional\n"); - return 0; - } - if (argc > 2 ) - param1 = argv[2]; - if (argc > 3 ) - address = argv[3]; - - printf ("Using endpoint : %s\n", address); - printf ("\nInvoking operation %s with param %s \n", operation, param1); - - node = build_om_programatically(env, operation, param1); - stub = - axis2_Account_stub_create_with_endpoint_uri_and_client_home(env, address, client_home); - /* create node and invoke Calculator */ - ret_node = axis2_Account_stub_getAccountReport(stub, env, node); - if(ret_node) - { - axis2_char_t *om_str = NULL; - om_str = AXIOM_NODE_TO_STRING(ret_node, env); - if(om_str) - { - printf("\nOM returned = %s\n", om_str); - } - - //if (AXIOM_NODE_GET_NODE_TYPE(ret_node, env) == AXIOM_ELEMENT) - //{ - // axis2_char_t *result = NULL; - // axiom_node_t *result_node = (axiom_node_t*)AXIOM_NODE_GET_FIRST_CHILD(ret_node, env); - // axiom_element_t *data_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT(result_node, env); - - // result = AXIOM_ELEMENT_GET_TEXT(data_ele, env, result_node); - // printf( "\nResult = %s\n", result); - //} - //else - //{ - // axiom_xml_writer_t *writer = NULL; - // axiom_output_t *om_output = NULL; - // axis2_char_t *buffer = NULL; - // writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0, - // AXIS2_XML_PARSER_TYPE_BUFFER); - // om_output = axiom_output_create (env, writer); - - // AXIOM_NODE_SERIALIZE (ret_node, env, om_output); - // buffer = (axis2_char_t*)AXIOM_XML_WRITER_GET_XML(writer, env); - // printf ("\nReceived invalid OM as result : %s\n", buffer); - // if(NULL != buffer) - // { - // AXIS2_FREE(env->allocator, buffer); - // buffer = NULL; - // } - // if(NULL != om_output) - // { - // AXIOM_OUTPUT_FREE(om_output, env); - // om_output = NULL; - // } - //} - } - else - { - AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" - " %d :: %s", env->error->error_number, - AXIS2_ERROR_GET_MESSAGE(env->error)); - printf("Account stub invoke FAILED!\n"); - } - if (stub) - { - AXIS2_STUB_FREE(stub, env); - } - return status; -} - -axiom_node_t * -build_om_programatically(const axis2_env_t *env, - const axis2_char_t *operation, - const axis2_char_t *param1 - ) -{ - axiom_node_t *Account_om_node = NULL; - axiom_element_t* Account_om_ele = NULL; - axiom_node_t* text_om_node = NULL; - axiom_element_t * text_om_ele = NULL; - axiom_node_t* first_om_node = NULL; - axiom_element_t * first_om_ele = NULL; - axiom_namespace_t *ns1 = NULL; - - - axiom_xml_writer_t *xml_writer = NULL; - axiom_output_t *om_output = NULL; - axis2_char_t *buffer = NULL; - - ns1 = axiom_namespace_create (env, "http://www.bigbank.com/AccountService", "ns1"); - - Account_om_ele = axiom_element_create(env, NULL, operation, ns1, &Account_om_node); - - first_om_ele = axiom_element_create(env, Account_om_node, "customerID", NULL, &first_om_node); - - text_om_ele = axiom_element_create(env, first_om_node, "customerID", NULL, &text_om_node); - - AXIOM_ELEMENT_SET_TEXT(text_om_ele, env, param1, text_om_node); - - xml_writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE, - AXIS2_XML_PARSER_TYPE_BUFFER); - om_output = axiom_output_create( env, xml_writer); - - AXIOM_NODE_SERIALIZE(Account_om_node, env, om_output); - buffer = (axis2_char_t*)AXIOM_XML_WRITER_GET_XML(xml_writer, env); - AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "\nSending OM node in XML : %s \n", buffer); - if(NULL != buffer) - { - AXIS2_FREE(env->allocator, buffer); - buffer = NULL; - } - if(NULL != om_output) - { - AXIOM_OUTPUT_FREE(om_output, env); - om_output = NULL; - } - - return Account_om_node; -} diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/Makefile.am deleted file mode 100644 index c9b565dc0c..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/Makefile.am +++ /dev/null @@ -1,44 +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/BigBank/deploy -wsclientdir=$(deploydir)/bigbank.wsclient - -wsclient_PROGRAMS = account_wsclient -wsclient_SCRIPTS = runwsclient.sh -EXTRA_DIST = runwsclient.sh - -AM_CPPFLAGS = $(CPPFLAGS) -account_wsclient_SOURCES = axis2_Account_stub.cpp AccountWSClient.cpp -noinst_HEADERS = *.h - -account_wsclient_LDADD = -L$(AXIS2C_HOME)/lib \ - -laxis2_util \ - -laxis2_axiom \ - -laxis2_wsdl \ - -laxis2_engine \ - -lwoden \ - -lwoden_wsdl \ - -laxis2_xml_schema \ - -laxis2_parser \ - -laxis2_minizip \ - -lpthread \ - -laxis2_http_sender \ - -laxis2_http_receiver - - -INCLUDES = -I${AXIS2C_HOME}/include diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.cpp deleted file mode 100644 index a219003a75..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.cpp +++ /dev/null @@ -1,111 +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. - */ - -/* $Rev$ $Date$ */ - -#include "axis2_Account_stub.h" - - -axis2_stub_t * -axis2_Account_stub_create_with_endpoint_ref_and_client_home(const axis2_env_t *env, - axis2_endpoint_ref_t *endpoint_ref, - axis2_char_t *client_home) -{ - axis2_stub_t *stub = NULL; - - AXIS2_ENV_CHECK(env, NULL); - - stub = (axis2_stub_t *) - axis2_stub_create_with_endpoint_ref_and_client_home(env, endpoint_ref, - client_home); - if(NULL == stub) - { - AXIS2_ERROR_SET(env->error, - AXIS2_ERROR_NO_MEMORY, (axis2_status_codes)AXIS2_FAILURE); - return NULL; - } - axis2_populate_axis_service( stub, env); - return stub; -} - -void axis2_populate_axis_service( axis2_stub_t* stub, const axis2_env_t *env) -{ - axis2_svc_client_t* svc_client = NULL; - axis2_qname_t *op_qname = NULL; - axis2_svc_t* svc = NULL; - axis2_op_t* op = NULL; - - /*Modifying the Service*/ - svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env ); - svc = (axis2_svc_t*)AXIS2_SVC_CLIENT_GET_AXIS_SERVICE ( svc_client, env ); - - /*creating the operations*/ - - op_qname = axis2_qname_create(env,"getAccountReport" , "", NULL); - op = axis2_op_create_with_qname(env, op_qname); - AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN); - AXIS2_SVC_ADD_OP(svc, env, op); - - } - -axis2_stub_t * -axis2_Account_stub_create_with_endpoint_uri_and_client_home(const axis2_env_t *env, - const axis2_char_t *endpoint_uri, - const axis2_char_t *client_home) -{ - axis2_stub_t *stub = NULL; - - AXIS2_ENV_CHECK(env, NULL); - - stub = (axis2_stub_t *) - axis2_stub_create_with_endpoint_uri_and_client_home(env, endpoint_uri, - client_home); - if(NULL == stub) - { - AXIS2_ERROR_SET(env->error, - AXIS2_ERROR_NO_MEMORY, (axis2_status_codes)AXIS2_FAILURE); - return NULL; - } - - axis2_populate_axis_service( stub, env); - - return stub; -} - -/***************************Function implementation****************************/ - -axiom_node_t * -axis2_Account_stub_getAccountReport(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node) -{ - axis2_svc_client_t *svc_client = NULL; - axiom_node_t *ret_node = NULL; - axis2_qname_t *op_qname = NULL; - - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - - svc_client = AXIS2_STUB_GET_SVC_CLIENT(stub, env); - op_qname = axis2_qname_create(env, "getAccountReport" , "", NULL); - ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, node); - - return ret_node; -} - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.h deleted file mode 100644 index f16b6d3a06..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/axis2_Account_stub.h +++ /dev/null @@ -1,71 +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. - */ - -/* $Rev$ $Date$ */ - -#ifndef AXIS2_ECHO_STUB_H -#define AXIS2_ECHO_STUB_H - -/** - * @file axis2_Calculator_stub.h - * @brief axis2 Calculator stub interface - */ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -axiom_node_t * -axis2_Account_stub_getAccountReport(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node); - -/** - * populate services - */ -void axis2_populate_axis_service( axis2_stub_t* stub, const axis2_env_t *env); - -/** - * Creates axis2_stub struct - * @param endpoint reference - * @return pointer to newly created axis2_stub struct - */ -axis2_stub_t * -axis2_Account_stub_create_with_endpoint_ref_and_client_home(const axis2_env_t *env, - axis2_endpoint_ref_t *endpoint_ref, - axis2_char_t *client_home); - -/** - * Creates axis2_stub struct - * @param endpoint uri - * @return pointer to newly created axis2_stub struct - */ -axis2_stub_t * -axis2_Account_stub_create_with_endpoint_uri_and_client_home(const axis2_env_t *env, - const axis2_char_t *endpoint_uri, - const axis2_char_t *client_home); -/** @} */ - -#ifdef __cplusplus -} -#endif -#endif /* AXIS2_ECHO_STUB_H */ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.bat deleted file mode 100644 index aa3f7d6dad..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.bat +++ /dev/null @@ -1,32 +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 "%AXIS2C_HOME%" == "" ( -echo "AXIS2C_HOME not set" -goto end -) -echo Using Axis2C installed at %AXIS2C_HOME%" - -rem Run the client -WSAccountClient.exe %* -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.sh deleted file mode 100755 index fa7d7d6813..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/bigbank.wsclient/runwsclient.sh +++ /dev/null @@ -1,31 +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$AXIS2C_HOME = x ]; then -echo "AXIS2C_HOME not set" -exit; -fi -echo "Using Axis2C installed at $AXIS2C_HOME" - -export LD_LIBRARY_PATH=$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -./account_wsclient - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploy.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploy.bat deleted file mode 100644 index 2f1bdf1423..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploy.bat +++ /dev/null @@ -1,67 +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 BigBank sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - -set package=bigbank.account - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set bbdir=%samplesdir%\BigBank -set bbdeploydir=%bbdir%\deploy -set samplebb=%bbdeploydir%\%package% - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %bbdir% mkdir %bbdir% -if not exist %bbdeploydir% mkdir %bbdeploydir% -if not exist %samplebb% mkdir %samplebb% - -set samplebbsrc=%srcdir%\%package% -copy %srcdir%\bigbank.accountmanagement.composite %bbdeploydir% -copy %samplebbsrc%\*.wsdl %samplebb% -copy %samplebbsrc%\*.composite %samplebb% -copy %samplebbsrc%\*.componentType %samplebb% -copy %samplebbsrc%\runwsserver.bat %samplebb% - -set library=Account -copy %inpath%\%library%.dll %samplebb% - -if exist %inpath%\%library%.pdb copy %inpath%\%library%.pdb %samplebb% - -goto end -:usage -echo Usage: deploy -:end - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deployclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deployclient.bat deleted file mode 100644 index 1f47e5ab13..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deployclient.bat +++ /dev/null @@ -1,63 +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 BigBank sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - -set package=bigbank.client - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set bbdir=%samplesdir%\BigBank -set bbdeploydir=%bbdir%\deploy -set clientdir=%bbdeploydir%\%package% - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %bbdir% mkdir %bbdir% -if not exist %bbdeploydir% mkdir %bbdeploydir% -if not exist %clientdir% mkdir %clientdir% - -set clientdirsrc=%srcdir%\%package% -copy %clientdirsrc%\runclient.bat %clientdir% - -set library=AccountClient -copy %inpath%\%library%.exe %clientdir% - -if exist %inpath%\%library%.pdb copy %inpath%\%library%.pdb %clientdir% - -goto end -:usage -echo Usage: deploy -:end - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploywsclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploywsclient.bat deleted file mode 100644 index 3e2ce687fe..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/BigBank/deploywsclient.bat +++ /dev/null @@ -1,63 +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 BigBank sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - -set package=bigbank.wsclient - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set bbdir=%samplesdir%\BigBank -set bbdeploydir=%bbdir%\deploy -set clientdir=%bbdeploydir%\%package% - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %bbdir% mkdir %bbdir% -if not exist %bbdeploydir% mkdir %bbdeploydir% -if not exist %clientdir% mkdir %clientdir% - -set clientdirsrc=%srcdir%\%package% -copy %clientdirsrc%\runwsclient.bat %clientdir% - -set library=WSAccountClient -copy %inpath%\%library%.exe %clientdir% - -if exist %inpath%\%library%.pdb copy %inpath%\%library%.pdb %clientdir% - -goto end -:usage -echo Usage: deploy -:end - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/COPYING b/tags/cpp-1.0-incubating-M2-final/sca/samples/COPYING deleted file mode 100755 index 6b0b1270ff..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/COPYING +++ /dev/null @@ -1,203 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/Makefile.am deleted file mode 100644 index 88ec180a84..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/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/Calculator/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-final/sca/samples/Calculator/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/README deleted file mode 100644 index 4104ff46b6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/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-final/sca/samples/Calculator/README.html b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/README.html deleted file mode 100644 index 8a1198df46..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/README.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - - - - - - - Tuscany SCA for C++ Samples - Calculator Sample - - - -
-
-
-

Tuscany SCA for C++ Samples - Calculator Sample

- -

This is a very simple sample to show how an SCA composite can wire - together two C++ 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. -

-
- - - - -
-

Building the C++ samples on Linux

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Linux.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. Build the C++ samples with the following command sequence: -
      -
    • cd <tuscany_sca_install_dir>/samples
    • -
    • ./configure --prefix=$TUSCANY_SCACPP --enable-static=no
    • -
    • make
    • -
    • make install
    • -
    - NOTE: If you don't provide the --prefix configure option, it will by default install into - /usr/local/tuscany/sca/samples/Calculator
  4. -
-
- -
-

Running the Calculator sample on Linux

-

Calculator with basic client

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.92>
    • -
    -
  2. -
  3. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/Calculator/deploy/sample.calculator.client
    • -
    • ./runclient.sh
    • -
    -
  4. -
-

Calculator with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/Calculator/deploy/sample.calculator -
    4. -
    5. ./runwsserver.sh
    6. -
    -
  4. -
  5. Run the client: -
      -
    1. The following environment variable is required: -
        -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/Calculator/deploy/sample.calculator.wsclient
    4. -
    5. ./runwsclient.sh
    6. -
    -
  6. -
-
- -
-

Building the Calculator sample on Windows

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>\samples - go directly to Running the samples on Windows.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. You must have set up the environment for Microsoft Visual C++ tools. - The build command will call vcvars32 to set the environment. Ensure the - directory containing this is on your path. This will be where you - installed the compiler. -
  4. -
  5. Build the source, either via the Visual Studio 6 or 7 projects under - <tuscany_sca_install_dir>\samples\ides or via the command-line build file - found at <tuscany_sca_install_dir>\samples\ides\devstudio6\projects\Calculator\build.cmd - which will build and deploy the samples. -
  6. -
-
- -
-

Running the Calculator sample on Windows

-

Calculator with basic client

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  2. -
  3. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>\samples\Calculator\deploy\sample.calculator.client
    • -
    • runclient.bat
    • -
    -
  4. -
-

Calculator with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\Calculator\deploy\sample.calculator
    4. -
    5. runwsserver.bat
    6. -
    -
  4. -
  5. Run the client: -
      -
    1. The following environment variable is required: -
        -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\Calculator\deploy\sample.calculator.wsclient
    4. -
    5. runwsclient.bat
    6. -
    -
  6. -
-
- - - -
-

Getting Help

- -

First place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at http://issues.apache.org/jira/browse/Tuscany.

-
-
-
- - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploy.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploy.bat deleted file mode 100644 index efd18e8219..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploy.bat +++ /dev/null @@ -1,67 +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 Calculator sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - -set package=sample.calculator - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set calcdir=%samplesdir%\Calculator -set calcdeploydir=%calcdir%\deploy -set samplecalc=%calcdeploydir%\%package% - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %calcdir% mkdir %calcdir% -if not exist %calcdeploydir% mkdir %calcdeploydir% -if not exist %samplecalc% mkdir %samplecalc% - -set samplecalcsrc=%srcdir%\%package% -copy %srcdir%\%package%.solution.composite %calcdeploydir% -copy %samplecalcsrc%\*.wsdl %samplecalc% -copy %samplecalcsrc%\*.composite %samplecalc% -copy %samplecalcsrc%\*.componentType %samplecalc% -copy %samplecalcsrc%\runwsserver.bat %samplecalc% - -set library=Calculator -copy %inpath%\%library%.dll %samplecalc% - -if exist %inpath%\%library%.pdb copy %inpath%\%library%.pdb %samplecalc% - -goto end -:usage -echo Usage: deploy -:end - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deployclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deployclient.bat deleted file mode 100644 index bf4fd47d43..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deployclient.bat +++ /dev/null @@ -1,63 +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 Calculator sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - -set package=sample.calculator.client - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set calcdir=%samplesdir%\Calculator -set calcdeploydir=%calcdir%\deploy -set clientdir=%calcdeploydir%\%package% - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %calcdir% mkdir %calcdir% -if not exist %calcdeploydir% mkdir %calcdeploydir% -if not exist %clientdir% mkdir %clientdir% - -set clientdirsrc=%srcdir%\%package% -copy %clientdirsrc%\runclient.bat %clientdir% - -set library=calculator_client -copy %inpath%\%library%.exe %clientdir% - -if exist %inpath%\%library%.pdb copy %inpath%\%library%.pdb %clientdir% - -goto end -:usage -echo Usage: deploy -:end - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploywsclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploywsclient.bat deleted file mode 100644 index 8b1b1a53c5..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/deploywsclient.bat +++ /dev/null @@ -1,63 +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 Calculator sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - -set package=sample.calculator.wsclient - -set deploydir=%TUSCANY_SCACPP% -set samplesdir=%deploydir%\samples -set calcdir=%samplesdir%\Calculator -set calcdeploydir=%calcdir%\deploy -set clientdir=%calcdeploydir%\%package% - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %calcdir% mkdir %calcdir% -if not exist %calcdeploydir% mkdir %calcdeploydir% -if not exist %clientdir% mkdir %clientdir% - -set clientdirsrc=%srcdir%\%package% -copy %clientdirsrc%\runwsclient.bat %clientdir% - -set library=calculator_wsclient -copy %inpath%\%library%.exe %clientdir% - -if exist %inpath%\%library%.pdb copy %inpath%\%library%.pdb %clientdir% - -goto end -:usage -echo Usage: deploy -:end - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/CalculatorClient.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/CalculatorClient.cpp deleted file mode 100644 index 9ec8b04bd1..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/CalculatorClient.cpp +++ /dev/null @@ -1,160 +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. - */ - -/* $Rev$ $Date$ */ - -#include "Calculator.h" - -#include "osoa/sca/sca.h" -using namespace osoa::sca; - -#include "tuscany/sca/core/TuscanyRuntime.h" -using namespace tuscany::sca; - -#include -#include -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 << "calculator_client: Argument 1 is not a number" << endl; - usage(); - } - else - { - arg1 = atof(argv[2]); - } - - if (!IsNumber(argv[3])) - { - cout << "calculator_client: Argument 2 is not a number" << endl; - usage(); - } - else - { - arg2 = atof(argv[3]); - } - } - else - { - usage(); - } - - try - { - // Locate a service - CompositeContext myContext = CompositeContext::getCurrent(); - Calculator *calcService = (Calculator*) myContext.locateService("CalculatorComponent/CalculatorService"); - if (calcService == 0) - { - cout << "calculator_client: Unable to find Calculator service" << endl; - } - else - { - try - { - float result = 0; - if (strcmp(operation, "add") == 0) - { - result = calcService->add(arg1, arg2); - cout << "calculator_client: add(" << arg1 << "," << arg2 << ") = " << result << endl; - } - else - if (strcmp(operation, "sub") == 0) - { - result = calcService->sub(arg1, arg2); - cout << "calculator_client: sub(" << arg1 << "," << arg2 << ") = " << result << endl; - } - else - if (strcmp(operation, "mul") == 0) - { - result = calcService->mul(arg1, arg2); - cout << "calculator_client: mul(" << arg1 << "," << arg2 << ") = " << result << endl; - } - else - if (strcmp(operation, "div") == 0) - { - result = calcService->div(arg1, arg2); - cout << "calculator_client: div(" << arg1 << "," << arg2 << ") = " << result << endl; - } - else - { - cout << "calculator_client: Unrecognized operation: " << operation << endl; - } - } - catch (char* x) - { - cout << "calculator_client: exception caught: " << x << endl; - } - } - - } - catch (ServiceRuntimeException& ex) - { - cout << ex << endl; - } - return 0; -} - -void usage() -{ - cout << "Usage: calculator_client add|sub|mul|div arg1 arg2" << endl; - exit(1); -} - -bool IsNumber (const char *p) -{ - int len = strlen(p); - int pointcount = 0; - - if (!isdigit (p[0]) && p[0] != '-' && p[0] != '+') - { - return false; - } - for (int i = 1; i < len; i++) - { - if (!isdigit (p[i])) - { - if (p[i] == '.') - { - if (pointcount > 0) return false; - pointcount++; - } - else - { - return false; - } - } - } - return true; -} diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/Makefile.am deleted file mode 100644 index ced28cf042..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/Makefile.am +++ /dev/null @@ -1,55 +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/Calculator/deploy -clientdir=$(deploydir)/sample.calculator.client - -client_PROGRAMS = calculator_client -client_SCRIPTS = runclient.sh -EXTRA_DIST = runclient.sh - -AM_CPPFLAGS = $(CPPFLAGS) -calculator_client_SOURCES = \ -CalculatorClient.cpp - -calculator_client_LDADD = \ --L${TUSCANY_SCACPP}/lib \ - -ltuscany_sca \ --L${TUSCANY_SCACPP}/extensions/cpp/lib \ - -ltuscany_sca_cpp \ --L${TUSCANY_SDOCPP}/lib \ - -ltuscany_sdo \ - -ltuscany_sdo_axiom \ --L$(AXIS2C_HOME)/lib \ - -laxis2_util \ - -laxis2_axiom \ - -laxis2_wsdl \ - -laxis2_engine \ - -lwoden \ - -lwoden_wsdl \ - -laxis2_xml_schema \ - -laxis2_parser \ - -laxis2_minizip \ - -lpthread \ - -laxis2_http_sender \ - -laxis2_http_receiver - -INCLUDES = \ --I$(TUSCANY_SCACPP)/extensions/cpp/include \ --I${TUSCANY_SCACPP}/include \ --I${TUSCANY_SDOCPP}/include \ --I../sample.calculator diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.bat deleted file mode 100644 index f4308ff739..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.bat +++ /dev/null @@ -1,48 +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_SCACPP%\extensions\cpp\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% - -.\calculator_client.exe div 5 2 - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.sh deleted file mode 100755 index ec4b3bb643..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.client/runclient.sh +++ /dev/null @@ -1,47 +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_SCACPP/extensions/cpp/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 - -./calculator_client div 5 2 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.solution.composite deleted file mode 100644 index 0445d645e4..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.solution.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/CalculatorWSClient.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/CalculatorWSClient.cpp deleted file mode 100644 index 267baf1722..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/CalculatorWSClient.cpp +++ /dev/null @@ -1,186 +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. - */ - -/* $Rev$ $Date$ */ - -#include "axis2_Calculator_stub.h" -#include -#include -#include -#include -#include - -axiom_node_t * -build_om_programatically(const axis2_env_t *env, - const axis2_char_t *operation, - const axis2_char_t *param1, - const axis2_char_t *param2); - -int main(int argc, char** argv) -{ - axis2_stub_t *stub = NULL; - axiom_node_t *node = NULL; - axis2_status_t status = AXIS2_FAILURE; - const axis2_env_t *env = NULL; - const axis2_char_t *address = NULL; - const axis2_char_t *client_home = NULL; - axiom_node_t *ret_node = NULL; - - const axis2_char_t *operation = "add"; - const axis2_char_t *param1 = "40"; - const axis2_char_t *param2 = "8"; - - env = axis2_env_create_all( "CalculatorService_blocking.log", AXIS2_LOG_LEVEL_TRACE); - - client_home = AXIS2_GETENV("AXIS2C_HOME"); - if (!client_home) - client_home = "../../deploy"; - - address = "http://localhost:9090/axis2/services/CalculatorService"; - if (argc > 1 ) - operation = argv[1]; - if (AXIS2_STRCMP(operation, "-h") == 0) - { - printf("Usage : %s [operation] [param1] [param2] [endpoint_url]\n", argv[0]); - printf("use -h for help\n"); - printf("default operation add\n"); - printf("default param1 %s\n", param1); - printf("default param2 %s\n", param2); - printf("default endpoint_url %s\n", address); - printf("NOTE: command line arguments must appear in given order, with trailing ones being optional\n"); - return 0; - } - if (argc > 2 ) - param1 = argv[2]; - if (argc > 3 ) - param2 = argv[3]; - if (argc > 4 ) - address = argv[4]; - - printf ("Using endpoint : %s\n", address); - printf ("\nInvoking operation %s with params %s and %s\n", operation, param1, param2); - - node = build_om_programatically(env, operation, param1, param2); - stub = - axis2_Calculator_stub_create_with_endpoint_uri_and_client_home(env, address, client_home); - /* create node and invoke Calculator */ - ret_node = axis2_Calculator_stub_add(stub, env, node); - if(ret_node) - { - axis2_char_t *om_str = NULL; - om_str = AXIOM_NODE_TO_STRING(ret_node, env); - if(om_str) - { - printf("\nOM returned = %s\n", om_str); - } - - if (AXIOM_NODE_GET_NODE_TYPE(ret_node, env) == AXIOM_ELEMENT) - { - axis2_char_t *result = NULL; - axiom_node_t *result_node = (axiom_node_t*)AXIOM_NODE_GET_FIRST_CHILD(ret_node, env); - axiom_element_t *data_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT(result_node, env); - - result = AXIOM_ELEMENT_GET_TEXT(data_ele, env, result_node); - printf( "\nResult = %s\n", result); - } - else - { - axiom_xml_writer_t *writer = NULL; - axiom_output_t *om_output = NULL; - axis2_char_t *buffer = NULL; - writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0, - AXIS2_XML_PARSER_TYPE_BUFFER); - om_output = axiom_output_create (env, writer); - - AXIOM_NODE_SERIALIZE (ret_node, env, om_output); - buffer = (axis2_char_t*)AXIOM_XML_WRITER_GET_XML(writer, env); - printf ("\nReceived invalid OM as result : %s\n", buffer); - if(NULL != buffer) - { - AXIS2_FREE(env->allocator, buffer); - buffer = NULL; - } - if(NULL != om_output) - { - AXIOM_OUTPUT_FREE(om_output, env); - om_output = NULL; - } - } - } - else - { - AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" - " %d :: %s", env->error->error_number, - AXIS2_ERROR_GET_MESSAGE(env->error)); - printf("Calculator stub invoke FAILED!\n"); - } - if (stub) - { - AXIS2_STUB_FREE(stub, env); - } - return status; -} - -axiom_node_t * -build_om_programatically(const axis2_env_t *env, - const axis2_char_t *operation, - const axis2_char_t *param1, - const axis2_char_t *param2) -{ - axiom_node_t *Calculator_om_node = NULL; - axiom_element_t* Calculator_om_ele = NULL; - axiom_node_t* text_om_node = NULL; - axiom_element_t * text_om_ele = NULL; - axiom_namespace_t *ns1 = NULL; - - - axiom_xml_writer_t *xml_writer = NULL; - axiom_output_t *om_output = NULL; - axis2_char_t *buffer = NULL; - - ns1 = axiom_namespace_create (env, "http://sample/calculator", "ns1"); - - Calculator_om_ele = axiom_element_create(env, NULL, operation, ns1, &Calculator_om_node); - - text_om_ele = axiom_element_create(env, Calculator_om_node, "param1", NULL, &text_om_node); - AXIOM_ELEMENT_SET_TEXT(text_om_ele, env, param1, text_om_node); - - text_om_ele = axiom_element_create(env, Calculator_om_node, "param2", NULL, &text_om_node); - AXIOM_ELEMENT_SET_TEXT(text_om_ele, env, param2, text_om_node); - - xml_writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE, - AXIS2_XML_PARSER_TYPE_BUFFER); - om_output = axiom_output_create( env, xml_writer); - - AXIOM_NODE_SERIALIZE(Calculator_om_node, env, om_output); - buffer = (axis2_char_t*)AXIOM_XML_WRITER_GET_XML(xml_writer, env); - AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "\nSending OM node in XML : %s \n", buffer); - if(NULL != buffer) - { - AXIS2_FREE(env->allocator, buffer); - buffer = NULL; - } - if(NULL != om_output) - { - AXIOM_OUTPUT_FREE(om_output, env); - om_output = NULL; - } - - return Calculator_om_node; -} diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/Makefile.am deleted file mode 100644 index 5d0af5df1f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/Makefile.am +++ /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. - -deploydir=$(prefix)/samples/Calculator/deploy -wsclientdir=$(deploydir)/sample.calculator.wsclient - -wsclient_PROGRAMS = calculator_wsclient -wsclient_SCRIPTS = runwsclient.sh -EXTRA_DIST = runwsclient.sh - -AM_CPPFLAGS = $(CPPFLAGS) - -calculator_wsclient_SOURCES = \ -axis2_Calculator_stub.cpp \ -CalculatorWSClient.cpp - -noinst_HEADERS = *.h - -calculator_wsclient_LDADD = \ --L$(AXIS2C_HOME)/lib \ - -laxis2_util \ - -laxis2_axiom \ - -laxis2_wsdl \ - -laxis2_engine \ - -lwoden \ - -lwoden_wsdl \ - -laxis2_xml_schema \ - -laxis2_parser \ - -laxis2_minizip \ - -lpthread \ - -laxis2_http_sender \ - -laxis2_http_receiver - -INCLUDES = -I${AXIS2C_HOME}/include diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.cpp deleted file mode 100644 index a24a3c9ed6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.cpp +++ /dev/null @@ -1,178 +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. - */ - -/* $Rev$ $Date$ */ - -#include "axis2_Calculator_stub.h" - - -axis2_stub_t * -axis2_Calculator_stub_create_with_endpoint_ref_and_client_home(const axis2_env_t *env, - axis2_endpoint_ref_t *endpoint_ref, - axis2_char_t *client_home) -{ - axis2_stub_t *stub = NULL; - - AXIS2_ENV_CHECK(env, NULL); - - stub = (axis2_stub_t *) - axis2_stub_create_with_endpoint_ref_and_client_home(env, endpoint_ref, - client_home); - if(NULL == stub) - { - AXIS2_ERROR_SET(env->error, - AXIS2_ERROR_NO_MEMORY, (axis2_status_codes)AXIS2_FAILURE); - return NULL; - } - axis2_populate_axis_service( stub, env); - return stub; -} - -void axis2_populate_axis_service( axis2_stub_t* stub, const axis2_env_t *env) -{ - axis2_svc_client_t* svc_client = NULL; - axis2_qname_t *op_qname = NULL; - axis2_svc_t* svc = NULL; - axis2_op_t* op = NULL; - - /*Modifying the Service*/ - svc_client = AXIS2_STUB_GET_SVC_CLIENT (stub, env ); - svc = (axis2_svc_t*)AXIS2_SVC_CLIENT_GET_AXIS_SERVICE ( svc_client, env ); - - /*creating the operations*/ - - op_qname = axis2_qname_create(env,"add" , "", NULL); - op = axis2_op_create_with_qname(env, op_qname); - AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN); - AXIS2_SVC_ADD_OP(svc, env, op); - - op_qname = axis2_qname_create(env,"sub" , "", NULL); - op = axis2_op_create_with_qname(env, op_qname); - AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN); - AXIS2_SVC_ADD_OP(svc, env, op); - - op_qname = axis2_qname_create(env,"mul" , "", NULL); - op = axis2_op_create_with_qname(env, op_qname); - AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN); - AXIS2_SVC_ADD_OP(svc, env, op); - - op_qname = axis2_qname_create(env,"div" , "", NULL); - op = axis2_op_create_with_qname(env, op_qname); - AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN); - AXIS2_SVC_ADD_OP(svc, env, op); -} - -axis2_stub_t * -axis2_Calculator_stub_create_with_endpoint_uri_and_client_home(const axis2_env_t *env, - const axis2_char_t *endpoint_uri, - const axis2_char_t *client_home) -{ - axis2_stub_t *stub = NULL; - - AXIS2_ENV_CHECK(env, NULL); - - stub = (axis2_stub_t *) - axis2_stub_create_with_endpoint_uri_and_client_home(env, endpoint_uri, - client_home); - if(NULL == stub) - { - AXIS2_ERROR_SET(env->error, - AXIS2_ERROR_NO_MEMORY, (axis2_status_codes)AXIS2_FAILURE); - return NULL; - } - - axis2_populate_axis_service( stub, env); - - return stub; -} - -/***************************Function implementation****************************/ - -axiom_node_t * -axis2_Calculator_stub_add(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node) -{ - axis2_svc_client_t *svc_client = NULL; - axiom_node_t *ret_node = NULL; - axis2_qname_t *op_qname = NULL; - - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - - svc_client = AXIS2_STUB_GET_SVC_CLIENT(stub, env); - op_qname = axis2_qname_create(env, "add" , "", NULL); - ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, node); - - return ret_node; -} - -axiom_node_t * -axis2_Calculator_stub_sub(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node) -{ - axis2_svc_client_t *svc_client = NULL; - axiom_node_t *ret_node = NULL; - axis2_qname_t *op_qname = NULL; - - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - - svc_client = AXIS2_STUB_GET_SVC_CLIENT(stub, env); - op_qname = axis2_qname_create(env, "sub" , "", NULL); - ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, node); - - return ret_node; -} - -axiom_node_t * -axis2_Calculator_stub_mul(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node) -{ - axis2_svc_client_t *svc_client = NULL; - axiom_node_t *ret_node = NULL; - axis2_qname_t *op_qname = NULL; - - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - - svc_client = AXIS2_STUB_GET_SVC_CLIENT(stub, env); - op_qname = axis2_qname_create(env, "mul" , "", NULL); - ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, node); - - return ret_node; -} - -axiom_node_t * -axis2_Calculator_stub_div(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node) -{ - axis2_svc_client_t *svc_client = NULL; - axiom_node_t *ret_node = NULL; - axis2_qname_t *op_qname = NULL; - - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - - svc_client = AXIS2_STUB_GET_SVC_CLIENT(stub, env); - op_qname = axis2_qname_create(env, "div" , "", NULL); - ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE_WITH_OP_QNAME( svc_client, env, op_qname, node); - - return ret_node; -} - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.h deleted file mode 100644 index 833c6f85c6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/axis2_Calculator_stub.h +++ /dev/null @@ -1,85 +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. - */ - -/* $Rev$ $Date$ */ - -#ifndef AXIS2_ECHO_STUB_H -#define AXIS2_ECHO_STUB_H - -/** - * @file axis2_Calculator_stub.h - * @brief axis2 Calculator stub interface - */ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -axiom_node_t * -axis2_Calculator_stub_add(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node); - -axiom_node_t * -axis2_Calculator_stub_sub(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node); - -axiom_node_t * -axis2_Calculator_stub_mul(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node); - -axiom_node_t * -axis2_Calculator_stub_div(axis2_stub_t *stub, - const axis2_env_t *env, - axiom_node_t *node); -/** - * populate services - */ -void axis2_populate_axis_service( axis2_stub_t* stub, const axis2_env_t *env); - -/** - * Creates axis2_stub struct - * @param endpoint reference - * @return pointer to newly created axis2_stub struct - */ -axis2_stub_t * -axis2_Calculator_stub_create_with_endpoint_ref_and_client_home(const axis2_env_t *env, - axis2_endpoint_ref_t *endpoint_ref, - axis2_char_t *client_home); - -/** - * Creates axis2_stub struct - * @param endpoint uri - * @return pointer to newly created axis2_stub struct - */ -axis2_stub_t * -axis2_Calculator_stub_create_with_endpoint_uri_and_client_home(const axis2_env_t *env, - const axis2_char_t *endpoint_uri, - const axis2_char_t *client_home); -/** @} */ - -#ifdef __cplusplus -} -#endif -#endif /* AXIS2_ECHO_STUB_H */ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.bat deleted file mode 100644 index 6d50f23370..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.bat +++ /dev/null @@ -1,32 +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 "%AXIS2C_HOME%" == "" ( -echo "AXIS2C_HOME not set" -goto end -) -echo Using Axis2C installed at %AXIS2C_HOME%" - -rem Run the client -.\calculator_wsclient.exe div 5 2 - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.sh deleted file mode 100755 index 51d8dbac22..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator.wsclient/runwsclient.sh +++ /dev/null @@ -1,30 +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$AXIS2C_HOME = x ]; then -echo "AXIS2C_HOME not set" -exit; -fi -echo "Using Axis2C installed at $AXIS2C_HOME" - -export LD_LIBRARY_PATH=$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -./calculator_wsclient div 5 2 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.h deleted file mode 100644 index 1a88c9cb67..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.h +++ /dev/null @@ -1,36 +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. - */ - -/* $Rev$ $Date$ */ - -#ifndef sample_calculator_h -#define sample_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 // sample_calculator_h - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.wsdl deleted file mode 100644 index 37529c06c5..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Calculator.wsdl +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.componentType deleted file mode 100644 index 72fe9842e8..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.componentType +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.cpp deleted file mode 100644 index 73abf2f1df..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.cpp +++ /dev/null @@ -1,89 +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. - */ - -/* $Rev$ $Date$ */ - -#include "CalculatorImpl.h" -#include - -#include "Divide.h" -#include "osoa/sca/ComponentContext.h" -#include "osoa/sca/ServiceRuntimeException.h" - -CalculatorImpl::CalculatorImpl() -{ -} - -CalculatorImpl::~CalculatorImpl() -{ -} - -// Calculator interface -float CalculatorImpl::add(float arg1, float arg2) -{ - float result = arg1 + arg2; - - printf("CalculatorImpl::add %f + %f = %f\n", arg1, arg2, result); - return result; -} - -float CalculatorImpl::sub(float arg1, float arg2) -{ - float result = arg1 - arg2; - printf("CalculatorImpl::sub %f - %f = %f\n", arg1, arg2, result); - return result; -} - -float CalculatorImpl::mul(float arg1, float arg2) -{ - float result = arg1 * arg2; - printf("CalculatorImpl::mul %f * %f = %f\n", arg1, arg2, result); - return result; -} - -float CalculatorImpl::div(float arg1, float arg2) -{ - float result = 0; - - // This method shows how to invoke a service on a different component from within a component - - // First, get the current ComponentContext - osoa::sca::ComponentContext myContext = osoa::sca::ComponentContext::getCurrent(); - - try - { - // Find the required service, as referenced in CalculatorImpl.componentType - Divide* divideService = (Divide*)myContext.getService("divideService"); - - // Finally, invoke the service - result = divideService->divide(arg1, arg2); - - printf("CalculatorImpl::div Divide returned result: %f\n", result); - - } - catch (osoa::sca::ServiceRuntimeException& e) - { - // Print out error message and carry on - printf("CalculatorImpl::div Error whilst invoking Divide: %s", e.getMessageText()); - } - - return result; -} - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.h deleted file mode 100644 index af8a5eeab1..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/CalculatorImpl.h +++ /dev/null @@ -1,41 +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. - */ - -/* $Rev$ $Date$ */ - -#ifndef sample_calculatorimpl_h -#define sample_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 // sample_calculatorimpl_h - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Divide.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Divide.h deleted file mode 100644 index 6e171ed733..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Divide.h +++ /dev/null @@ -1,34 +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. - */ - -/* $Rev$ $Date$ */ - - -#ifndef sample_divide_h -#define sample_divide_h - -class Divide -{ -public: - virtual float divide(float arg1, float arg2) = 0; -}; - -#endif // sample_divide_h - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.componentType deleted file mode 100644 index d7369e3ff0..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.componentType +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.cpp deleted file mode 100644 index 8b9db46ecb..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.cpp +++ /dev/null @@ -1,47 +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. - */ - -/* $Rev$ $Date$ */ - -#include "DivideImpl.h" -#include - -DivideImpl::DivideImpl() -{ -} - -DivideImpl::~DivideImpl() -{ -} - -// Divide interface -float DivideImpl::divide(float arg1, float arg2) -{ - if(arg2 == 0.0) - { - printf("DivideImpl::div %f / %f !! Cannot divide by zero, so returning 0\n", arg1, arg2); - return 0; - } - - float result = arg1 / arg2; - printf("DivideImpl::div %f / %f = %f\n", arg1, arg2, result); - return result; -} - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.h deleted file mode 100644 index 64045f1899..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/DivideImpl.h +++ /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. - */ - -/* $Rev$ $Date$ */ - - -#ifndef sample_divideimpl_h -#define sample_divideimpl_h - -#include "Divide.h" - -class DivideImpl : public Divide -{ -public: - DivideImpl(); - virtual ~DivideImpl(); - - // Divide interface - virtual float divide(float arg1, float arg2); -}; - -#endif // sample_divideimpl_h - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Makefile.am deleted file mode 100644 index c57d0c9fe5..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/Makefile.am +++ /dev/null @@ -1,55 +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/Calculator/deploy -compositedir=$(deploydir)/sample.calculator - -BUILT_SOURCES = scagen - -noinst_HEADERS = *.h - -scagen: - java -jar $(TUSCANY_SCACPP)/bin/scagen.jar -dir . -output . - -composite_SCRIPTS = runwsserver.sh - -composite_LTLIBRARIES = libCalculator.la -composite_DATA = *.composite *.componentType *.wsdl -EXTRA_DIST = *.composite *.componentType *.wsdl runwsserver.sh - -dist_libCalculator_la_SOURCES = \ -CalculatorImpl.cpp \ -DivideImpl.cpp - -nodist_libCalculator_la_SOURCES = \ -CalculatorImpl_CalculatorService_Proxy.cpp \ -CalculatorImpl_CalculatorService_Wrapper.cpp \ -CalculatorImpl_divideService_Proxy.cpp \ -DivideImpl_DivideService_Proxy.cpp \ -DivideImpl_DivideService_Wrapper.cpp - -libCalculator_la_LIBADD = \ --L${TUSCANY_SCACPP}/lib \ - -ltuscany_sca \ --L${TUSCANY_SCACPP}/extensions/cpp/lib \ - -ltuscany_sca_cpp - -INCLUDES = \ --I$(TUSCANY_SCACPP)/extensions/cpp/include \ --I$(TUSCANY_SCACPP)/include \ --I${TUSCANY_SDOCPP}/include - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/runwsserver.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/runwsserver.bat deleted file mode 100644 index 160152e6a9..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/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_SCACPP%\extensions\cpp\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-final/sca/samples/Calculator/sample.calculator/runwsserver.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/runwsserver.sh deleted file mode 100755 index b94d841d66..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/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_SCACPP/extensions/cpp/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-final/sca/samples/Calculator/sample.calculator/sample.calculator.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/sample.calculator.composite deleted file mode 100644 index ae4657b366..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Calculator/sample.calculator/sample.calculator.composite +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - CalculatorComponent/CalculatorService - - - - - DivideComponent/DivideService - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ChangeLog b/tags/cpp-1.0-incubating-M2-final/sca/samples/ChangeLog deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/GettingStarted.html b/tags/cpp-1.0-incubating-M2-final/sca/samples/GettingStarted.html deleted file mode 100644 index d151185171..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/GettingStarted.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - Tuscany SCA C++ Samples - Getting Started - - - -
-
-
-

Tuscany Samples - Getting Started - SCA C++ Milestone release 2

- -

Tuscany SCA C++ includes a set of simple technology samples that demonstrates some of the functionality of - the Tuscany SCA C++ runtime. This page describes the samples and links to the documents that describe how to - build and run them -

-
- -
-

Samples

- - - - - - - - - - - - - - - - - - - - - - - -
Calculator - A very simple sample to show how an SCA composite can wire - together two C++ components to implement a Calculator service - and expose that service as a Web Service -
PythonCalculator - A very simple sample to show how an SCA composite can wire - together two Python components to implement a Calculator service - and expose that service as a Web Service -
RubyCalculator - 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 -
BigBank - A more complex sample that implements the "Simplified BigBank" scenario. A whitepaper describing - the scenario based on the SCA 0.9 Assembly specification can be found - here. - This sample uses multiple C++ components, calls out to an external Web Service via a reference, - exposes the service as a Web Service and also provides a PHP based client. -
RubyBank - A more complex sample that implements the "Simplified BigBank" scenario. This sample uses multiple - Ruby components, calls out to an external Web Service via a reference and exposes the service as a - Web Service. -
-
-
-
-

Getting Help

- -

The first place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at http://issues.apache.org/jira/browse/Tuscany.

- - -

 

- -

 

- -

 

- - - - - - -
- -

Thank you for your interest in Tuscany.

-The - Tuscany Development Team -
-
- -
- -
- - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/INSTALL b/tags/cpp-1.0-incubating-M2-final/sca/samples/INSTALL deleted file mode 100644 index 3d7155367d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/INSTALL +++ /dev/null @@ -1,2 +0,0 @@ -Please read the GettingStarted.html document for information on -building, installing and running Tuscany SCA for C++ Samples \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/LICENSE b/tags/cpp-1.0-incubating-M2-final/sca/samples/LICENSE deleted file mode 100755 index f433b1a53f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/LICENSE +++ /dev/null @@ -1,177 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/Makefile.am deleted file mode 100644 index bf35b2c21f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/Makefile.am +++ /dev/null @@ -1,36 +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. - -if WANT_ALL_SAMPLES - CPP_SAMPLES = Calculator BigBank - PYTHON_SAMPLES = PythonCalculator - RUBY_SAMPLES = RubyCalculator RubyBank -endif -if WANT_CPP_SAMPLES - CPP_SAMPLES = Calculator BigBank -endif -if WANT_PYTHON_SAMPLES - PYTHON_SAMPLES = PythonCalculator -endif -if WANT_RUBY_SAMPLES - RUBY_SAMPLES = RubyCalculator RubyBank -endif -if WANT_PHP_SAMPLES -endif -SUBDIRS = ${CPP_SAMPLES} ${PYTHON_SAMPLES} ${RUBY_SAMPLES} ${PHP_SAMPLES} - -EXTRA_DIST = GettingStarted.html diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/Makefile.am deleted file mode 100644 index dd71fa8f83..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/Makefile.am +++ /dev/null @@ -1,28 +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. - -prgbindir=$(prefix)/samples/bin -prgbin_PROGRAMS = MyValueClient - -MyValueClient_SOURCES = MyValueClient.cpp - -MyValueClient_LDADD = -L$(top_builddir)/runtime/core/src -ltuscany_sca \ - -L${TUSCANY_SDOCPP}/lib -ltuscany_sdo -lxml2 - -INCLUDES = -I.. \ - -I$(top_builddir)/runtime/core/src \ - -I${TUSCANY_SDOCPP}/include diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/MyValueClient.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/MyValueClient.cpp deleted file mode 100755 index 0919c539da..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Client/MyValueClient.cpp +++ /dev/null @@ -1,184 +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. - */ - -/* $Rev$ $Date$ */ - -#pragma warning(disable: 4786) - -#include "commonj/sdo/Logger.h" -#include "commonj/sdo/SDO.h" -#include "commonj/sdo/HelperProvider.h" -#include "osoa/sca/sca.h" -#include "tuscany/sca/util/Logger.h" -#include "tuscany/sca/util/Utils.h" -#include - -using namespace std; -using namespace osoa::sca; -using namespace tuscany::sca; -using namespace commonj::sdo; -using namespace tuscany::sca::ws; - -void usage(); - -// -// MyValueClient is a sample application that invokes operations on the -// MyValueService Web Service. -// -int main(int argc, char* argv[]) -{ - - // - // Schema file for the types used by MyValueService - // - char *pszXSD; - - // - // The WebService endpoint uri. - // - char *pszEndpoint; - - // - // TargetNamespace - // - const char *pszTargetNamespace; - - // - // SOAPAction - // - // Axis 1.5: SoapAction must be #. - const char *pcszSoapAction = "MyValueService#getMyValue"; - - // - // Operation Name - // - const char *pcszOperationName = "getMyValue"; - - // - // Operation Response Name - // - const char *pcszOperationResponseName = "getMyValueResponse"; - - - // Get the input parameters. - if (argc == 3) - { - // Schema file. - pszXSD = argv[1]; - // Web Service endpoint. - pszEndpoint = argv[2]; - } - else - { - usage(); - } - - // The current version of SDO does not support the embedded schema in the wsdl file, - // so we have to load an external schema. - XSDHelperPtr xsdHelper = HelperProvider::getXSDHelper(); - - try - { - cout << "define file: " << pszXSD <defineFile(pszXSD); - } - catch (SDORuntimeException ex) - { - cout << ex << endl; - exit(1); - } - cout << "define file done: " << pszTargetNamespace <getDataFactory(); - DataObjectPtr requestDO = 0; - - try - { - // Create the root element for the operation and then add the parameters - // we need to invoke the operation. - requestDO = factory->create(pszTargetNamespace, pcszOperationName); - requestDO->setCString("customerID", "12345"); - } - catch (SDORuntimeException e) - { - cout << "SDORuntimeException: " << e << endl; - exit(1); - } - - // - // Create an SDOStub that will use the request SDO to invoke the operation. - // - SDOStub *stub = new SDOStub(); - stub->setEndpoint(pszEndpoint); - stub->setOperationName(pcszOperationName); - stub->setTargetNamespace(pszTargetNamespace); - stub->setOperationResponseName(pcszOperationResponseName); - stub->setSoapAction(pcszSoapAction); - // DEBUG - Don't let the soap transport timeout while debugging. - stub->setTransportTimeout(0); - // DEBUG - - try - { - // Invoke the operation. - DataObjectPtr responseDO = stub->invoke(requestDO, factory); - // Print the response. - if (responseDO != 0) - { - cout << "MyValueClient: response DataObject = " << endl; - Utils::printDO(responseDO); - cout << endl; - float fValue = responseDO->getFloat("myValue"); - cout << "MyValueClient: myValue = " << fValue; - } - else - { - cout << "MyValueClient: MyValueService did not return a result" << endl; - } - } - catch (SDORuntimeException& e) - { - cout << "SDORuntimeException: " << e << endl; - } - catch (ServiceRuntimeException& e) - { - cout << "ServiceRuntimeException: " << e << endl; - } - catch(exception& e) - { - cout << "Exception: " << e.what() << endl; - } - - - return 0; -} - -// -// Print usage message. -// -void usage() -{ - cout << "MyValueClient.exe: Invoke operations on MyValueService Web Service" << endl; - cout << "Usage: MyValueClient XSD endpoint" << endl; - cout << "where XSD = path and name of XSD file that defines the MyValue types" << endl; - cout << " endpoint = web service endpoint" << endl; - exit(1); -} diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Makefile.am deleted file mode 100644 index 9f00a2ad9a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/Makefile.am +++ /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. - -SUBDIRS = MyValueComposite Client - -deploy_dir = $(top_builddir)/samples/runtime -deploy_composite = $(deploy_dir)/packages/MyValueComposite - -install-exec-local: - cp MyValueSubsystem/sca.subsystem $(deploy_dir)/configuration/MyValueSubsystem - cp MyValueComposite/sca.composite $(deploy_composite) - cp MyValueComposite/CustomerInfo.fragment $(deploy_composite) - cp MyValueComposite/CustomerInfo/CustomerInfoImpl.componentType $(deploy_composite)/CustomerInfo - cp MyValueComposite/CustomerInfo/.libs/libCustomerInfo$libsuffix) $(deploy_composite)/CustomerInfo - cp MyValueComposite/CustomerInfo/CustomerInfo.h $(deploy_composite)/CustomerInfo - cp MyValueComposite/CustomerInfo/CustomerInfoImpl.h $(deploy_composite)/CustomerInfo - cp MyValueComposite/MyValue/MyValueImpl.componentType $(deploy_composite)/MyValue - cp MyValueComposite/MyValue/MyValue.h $(deploy_composite)/MyValue - cp MyValueComposite/MyValue/MyValueImpl.h $(deploy_composite)/MyValue - cp MyValueComposite/MyValue/MyValueService.wsdl $(deploy_composite)/MyValue - cp MyValueComposite/MyValue/.libs/libMyValue$libsuffix) $(deploy_composite)/MyValue - cp MyValueComposite/StockQuoteService/StockQuoteService.h $(deploy_composite)/StockQuoteService - cp MyValueComposite/StockQuoteService/StockQuoteService.wsdl $(deploy_composite)/StockQuoteService - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo.fragment b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo.fragment deleted file mode 100755 index 2227f730dd..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo.fragment +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - x - 23 - 42 - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfo.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfo.h deleted file mode 100755 index 61d3e18133..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfo.h +++ /dev/null @@ -1,32 +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. - */ - -/* $Rev$ $Date$ */ - -#ifndef CustomerInfo_h -#define CustomerInfo_h - -class CustomerInfo -{ -public: - virtual const char* getCustomerInformation(const char* customerID) = 0; - -}; - -#endif diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.componentType deleted file mode 100755 index caed4c5327..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.componentType +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.cpp deleted file mode 100755 index 1a50dd4426..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/CustomerInfo/CustomerInfoImpl.cpp +++ /dev/null @@ -1,81 +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. - */ - -/* $Rev$ $Date$ */ - -#include "CustomerInfoImpl.h" -#include -#include -#include "osoa/sca/sca.h" -#include "commonj/sdo/DataObjectInstance.h" -using namespace osoa::sca; -using namespace commonj::sdo; - -////////////////////////////////////////////////////////////////////// -// Construction/Destruction -////////////////////////////////////////////////////////////////////// - -CustomerInfoImpl::CustomerInfoImpl() -{ - cout << "Construct CustomerInfoImpl" << endl; - -} - -CustomerInfoImpl::~CustomerInfoImpl() -{ - cout << "Destroy CustomerInfoImpl" << endl; -} - -////////////////////////////////////////////////////////////////////// -// Other methods -////////////////////////////////////////////////////////////////////// -const char* CustomerInfoImpl::getCustomerInformation(const char* customerID) -{ - cout << "In getCustomerInformation with customerid: " << customerID << endl; - - - - ComponentContext myContext = ComponentContext::getCurrent(); - - DataObjectInstance properties = myContext.getProperties(); - DataObjectInstance props2 = properties; - if (properties) - { - const char* fredVal = properties->getCString("Fred"); - cout << "Property Fred value: " << fredVal <getList("Joe"); - for (int i=0; i - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.cpp b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.cpp deleted file mode 100755 index 5c0d5506d3..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.cpp +++ /dev/null @@ -1,147 +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. - */ - -/* $Rev$ $Date$ */ - -// -// MyValueImpl.cpp: implementation of the MyValueImpl class. -// - -#include "commonj/sdo/HelperProvider.h" -#include "commonj/sdo/SDO.h" -#include "osoa/sca/sca.h" -#include "MyValueImpl.h" -#include "CustomerInfo/CustomerInfo.h" -#include "StockQuoteService/StockQuoteService.h" -#include - -using namespace std; -using namespace osoa::sca; -using namespace commonj::sdo; - -////////////////////////////////////////////////////////////////////// -// Construction/Destruction -////////////////////////////////////////////////////////////////////// - -MyValueImpl::MyValueImpl() -{ - cout << "Construct MyValueImpl" << endl; - -} - -MyValueImpl::~MyValueImpl() -{ - cout << "Destroy MyValueImpl" << endl; -} - -////////////////////////////////////////////////////////////////////// -// Other methods -////////////////////////////////////////////////////////////////////// -DataObjectPtr MyValueImpl::getMyValue(DataObjectPtr inDataObject) -{ - DataObjectPtr responseDO = 0; - - string customerID = inDataObject->getCString("customerID"); - cout << "In getMyValue with customerid: " << customerID << endl; - - // Get the CustomerInfo service. - ComponentContext myContext = ComponentContext::getCurrent(); - CustomerInfo* customerInfoService = (CustomerInfo*)myContext.getService("customerInfo"); - - if (customerInfoService == 0) - { - cout << "Unable to find customer info service" << endl; - - return responseDO; - } - - // Get the name of the stock for customer 'customerID' from the customerInfoService. - const char * stock; - try - { - stock = customerInfoService->getCustomerInformation(customerID.c_str()); - } - catch(const char* x) - { - cout << "Exception caught: " << x <getCustomerInformation(customerID.c_str()); - cout << "Stock from getServices " << i << " : " << stock <create("http://swanandmokashi.com", "GetQuotes"); - stockQuoteRequestDO->setCString("QuoteTicker", stock); - - // Invoke the StockQuoteService - DataObjectPtr stockQuoteResponseDO = stockQuoteService->GetStockQuotes(stockQuoteRequestDO); - - // DEBUG (Print the response from the StockQuoteService) - XMLHelperPtr xmlHelper = HelperProvider::getXMLHelper(factory);; - XMLDocumentPtr responseDoc = - xmlHelper->createDocument(stockQuoteResponseDO, "http://swanandmokashi.com", "GetQuotesResponse"); - responseDoc->setXMLDeclaration(false); - char *responseXML = xmlHelper->save(responseDoc); - cout << "Response XML from StockQuoteService = " << endl; - cout << responseXML << endl; - cout << endl; - // DEBUG - - // Create the MyValueService response DataObject using the results of the StockQuoteService. - responseDO = factory->create("http://www.myvalue.org/MyValueService/", "getMyValueResponse"); - DataObjectPtr getQuotesResultDO = stockQuoteResponseDO->getDataObject("GetQuotesResult"); - DataObjectList& quoteList = getQuotesResultDO->getList("Quote"); - float fQuote = quoteList[0]->getFloat("StockQuote"); - - responseDO->setFloat("myValue", fQuote); - } - catch (SDORuntimeException sdoE) - { - cout << sdoE; - } - - return responseDO; - -} - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.h deleted file mode 100755 index 6380dac5e0..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueImpl.h +++ /dev/null @@ -1,37 +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. - */ - -/* $Rev$ $Date$ */ - - -#ifndef MyValueImpl_h -#define MyValueImpl_h - -#include "MyValue.h" - - -class MyValueImpl : public MyValue -{ -public: - MyValueImpl(); - virtual ~MyValueImpl(); - virtual DataObjectPtr getMyValue(DataObjectPtr inDataObject); -}; - -#endif diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.wsdl deleted file mode 100755 index 6ea196e311..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.wsdl +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.xsd b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.xsd deleted file mode 100755 index ab2f25a826..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/MyValue/MyValueService.xsd +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.h b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.h deleted file mode 100755 index fda8a80e89..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.h +++ /dev/null @@ -1,34 +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. - */ - -/* $Rev$ $Date$ */ - -#ifndef StockQuoteService_h -#define StockQuoteService_h -#include -#include "commonj/sdo/SDO.h" -using std::string; -class StockQuoteService -{ -public: - virtual commonj::sdo::DataObjectPtr GetStockQuotes(commonj::sdo::DataObjectPtr request) = 0; - -}; - -#endif // StockQuoteService_h diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.wsdl deleted file mode 100755 index 159d15c2d8..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/StockQuoteService/StockQuoteService.wsdl +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/sca.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/sca.composite deleted file mode 100755 index 52461c7650..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueComposite/sca.composite +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - MyValueServiceComponent - - - - - - - - CustomerInfoComponent - StockQuoteService - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueSubsystem/sca.subsystem b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueSubsystem/sca.subsystem deleted file mode 100755 index 7336b818b7..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/MyValueSubsystem/sca.subsystem +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/runMyValueClient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/runMyValueClient.sh deleted file mode 100755 index 6a8a60c490..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/runMyValueClient.sh +++ /dev/null @@ -1,53 +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` - -export SCA4CPP_HOME="$APFULLDIR" -if [ x$SCA4CPP = x ]; then -export TUSCANY_SCACPP="$SCA4CPP_HOME" -fi -echo "Using SCA installed at $SCA4CPP_HOME" - -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$TUSCANY_SDOCPP = x ]; then -echo "TUSCANY_SDOCPP not set"exit; -fi -echo "Using SDO installed at $TUSCANY_SDOCPP" - -TEST_ROOT=$SCA4CPP_HOME/runtime/core/test - -export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$LD_LIBRARY_PATH:$AXISCPP_DEPLOY/lib:$XERCES_DEPLOY/lib - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_ROOT/testSCASystem -export TUSCANY_SCACPP_DEFAULT_COMPOSITE=SubSystem1 - -cd $TUSCANY_SCACPP/bin/test -./tuscany_sca_test diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/server.wsdd b/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/server.wsdd deleted file mode 100755 index 1a82ab85a7..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/MyValue/server.wsdd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/NEWS b/tags/cpp-1.0-incubating-M2-final/sca/samples/NEWS deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/NOTICE b/tags/cpp-1.0-incubating-M2-final/sca/samples/NOTICE deleted file mode 100644 index bfb81409ad..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/NOTICE +++ /dev/null @@ -1,2 +0,0 @@ -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/) \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/Makefile.am deleted file mode 100644 index 5f234f1d65..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/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/PythonCalculator/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-final/sca/samples/PythonCalculator/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/README deleted file mode 100644 index b9e787c768..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/README +++ /dev/null @@ -1,24 +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-final/sca/samples/PythonCalculator/README.html b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/README.html deleted file mode 100644 index aa1e0c6d4f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/README.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - - - - - Tuscany SCA for C++ Samples - PythonCalculator Sample - - - -
-
-
-

Tuscany SCA for C++ Samples - PythonCalculator Sample

- -

This is a very simple sample to show how an SCA composite can wire - together two Python components to implement a Calculator service and expose - that service as a Web Service. -

-

See the Python extension - documentation for information about building the Tuscany Python extension - and using Python in SCA composites. -

-

There are three sub projects in this workspace:

-
    -
  • sample.calculator
    - This contains the Python scripts 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 client which does a local call to a composite that contains a Web Service reference - that 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. -

- -
- - - - -
-

Building the Python samples on Linux

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Linux.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. As the PythonCalculator sample is based on Python scripts, a specific compilation step is not necessary - - only deployment is required. Deploy the Python samples only with the following command sequence: -
      -
    • cd <tuscany_sca_install_dir>/samples
    • -
    • ./configure --enable-python --enable-cpp=no --prefix=$TUSCANY_SCACPP
    • -
    • make install
    • -
    - NOTE: If you don't provide the --prefix configure option, it will by default install into - /usr/local/tuscany/sca/samples/PythonCalculator
  4. -
-
- -
-

Running the PythonCalculator sample on Linux

-

PythonCalculator with basic client

-
    -
  1. Ensure you have enabled the Tuscany Python extension. Follow the instructions - found here. -
  2. -
  3. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  4. -
  5. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/PythonCalculator/deploy/sample.calculator.client
    • -
    • ./runclient.sh
    • -
    -
  6. -
-

PythonCalculator with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Ensure you have enabled the Tuscany Python extension. Follow the instructions - found here. -
  4. -
  5. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/PythonCalculator/deploy/sample.calculator
    4. -
    5. ./runwsserver.sh
    6. -
    -
  6. -
  7. Run the client: -
      -
    1. The following environment variable is required: -
        -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/PythonCalculator/deploy/sample.calculator.wsclient
    4. -
    5. ./runwsclient.sh
    6. -
    -
  8. -
-
- -
-

Building the PythonCalculator sample on Windows

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>\samples - go directly to Running the samples on Windows.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. As this sample is based on Python scripts, a specific compilation step is not necessary - - only deployment is required. Deploy the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>\samples\PythonCalculator
    • -
    • deploy.cmd
    • -
    -
  4. -
-
- -
-

Running the PythonCalculator sample on Windows

-

PythonCalculator with basic client

-
    -
  1. Ensure you have enabled the Tuscany Python extension. Follow the instructions - found here. -
  2. -
  3. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  4. -
  5. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>\samples\PythonCalculator\deploy\sample.calculator.client
    • -
    • runclient.bat
    • -
    -
  6. -
-

PythonCalculator with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Ensure you have enabled the Tuscany Python extension. Follow the instructions - found here. -
  4. -
  5. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\PythonCalculator\deploy\sample.calculator
    4. -
    5. runwsserver.bat
    6. -
    -
  6. -
  7. Run the client: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\PythonCalculator\deploy\sample.calculator.wsclient
    4. -
    5. runwsclient.bat
    6. -
    -
  8. -
-
- -
-

Getting Help

- -

First place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at http://issues.apache.org/jira/browse/Tuscany.

-
-
-
- - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/deploy.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/deploy.cmd deleted file mode 100644 index 7db890865a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/deploy.cmd +++ /dev/null @@ -1,57 +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%\PythonCalculator - -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\*.componentType %destinationPath%\sample.calculator -copy %sourcePath%\sample.calculator\*.composite %destinationPath%\sample.calculator -copy %sourcePath%\sample.calculator\*.py %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\calculator_client.py %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\calculator_wsclient.py %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-final/sca/samples/PythonCalculator/sample.calculator.client/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/Makefile.am deleted file mode 100644 index 2f569db441..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/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/PythonCalculator/deploy -clientdir=$(deploydir)/sample.calculator.client - -client_DATA = *.py -client_SCRIPTS = runclient.sh -EXTRA_DIST = runclient.sh *.py diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/calculator_client.py b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/calculator_client.py deleted file mode 100644 index 58d6f45606..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/calculator_client.py +++ /dev/null @@ -1,50 +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. -# -# -# -# -# This Python code is a simple sample that provides a Python -# client for the Calculator sample - - -import sys -import sca - -op = sys.argv[1] -val1 = sys.argv[2] -val2 = sys.argv[3] - -# Locate the calculator service -calc = sca.locateservice("CalculatorComponent") - -# Invoke the calculator operations -if op == 'add': - result = calc.add(val1, val2) - -elif op == 'sub': - result = calc.sub(val1, val2) - -elif op == 'mul': - result = calc.mul(val1, val2) - -elif op == 'div': - result = calc.div(val1, val2) - - -print "calculator_client: ",op,"(",val1,",",val2,") = ",result - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.bat deleted file mode 100644 index d02d5fced8..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.bat +++ /dev/null @@ -1,50 +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_SCACPP%\extensions\python\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% -set PYTHONPATH=%TUSCANY_SCACPP%\extensions\python\bin - -cd %TUSCANY_SCACPP_SYSTEM_ROOT%\sample.calculator.client -python calculator_client.py div 5 2 - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.client/runclient.sh deleted file mode 100755 index ced35b5f6b..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/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_SCACPP/extensions/python/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH -export PYTHONPATH=$TUSCANY_SCACPP/extensions/python/lib:$PYTHONPATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorComponent - -cd $TUSCANY_SCACPP_SYSTEM_ROOT/sample.calculator.client -python calculator_client.py div 5 2 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.solution.composite deleted file mode 100644 index 0a8ae343db..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.solution.composite +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Calculator.wsdl deleted file mode 100644 index f74c3d5c33..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Calculator.wsdl +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/Makefile.am deleted file mode 100644 index 931612432a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/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/PythonCalculator/deploy -wsclientdir=$(deploydir)/sample.calculator.wsclient - -wsclient_DATA = *.py *.wsdl *.composite -wsclient_SCRIPTS = runwsclient.sh -EXTRA_DIST = runwsclient.sh *.py *.wsdl *.composite diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/calculator_wsclient.py b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/calculator_wsclient.py deleted file mode 100644 index 1ec1f66d83..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/calculator_wsclient.py +++ /dev/null @@ -1,50 +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. -# -# -# -# -# This Python code is a simple sample that provides a Python -# client for the Calculator sample - - -import sys -import sca - -op = sys.argv[1] -val1 = sys.argv[2] -val2 = sys.argv[3] - -# Locate the calculator service -calc = sca.locateservice("CalculatorService") - -# Invoke the calculator operations -if op == 'add': - result = calc.add(val1, val2) - -elif op == 'sub': - result = calc.sub(val1, val2) - -elif op == 'mul': - result = calc.mul(val1, val2) - -elif op == 'div': - result = calc.div(val1, val2) - - -print "calculator_wsclient: ",op,"(",val1,",",val2,") = ",result - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.bat deleted file mode 100644 index dbcdf06313..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.bat +++ /dev/null @@ -1,50 +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_SCACPP%\extensions\python\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% -set PYTHONPATH=%TUSCANY_SCACPP%\extensions\python\bin - -cd %TUSCANY_SCACPP_SYSTEM_ROOT%\sample.calculator.wsclient -python calculator_wsclient.py div 5 2 - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.sh deleted file mode 100755 index a02f607d08..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/runwsclient.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_SCACPP/extensions/python/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH -export PYTHONPATH=$TUSCANY_SCACPP/extensions/python/lib:$PYTHONPATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=sample.calculator.CalculatorWSClientComponent - -cd $TUSCANY_SCACPP_SYSTEM_ROOT/sample.calculator.wsclient -python calculator_wsclient.py div 5 2 diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite deleted file mode 100644 index 6ee1169645..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Calculator.wsdl deleted file mode 100644 index 37529c06c5..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Calculator.wsdl +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.componentType deleted file mode 100644 index b54b4e22b1..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.componentType +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.py b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.py deleted file mode 100644 index 86dbef9e4d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/CalculatorImpl.py +++ /dev/null @@ -1,56 +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. -# -# -# -# -# This Python code is a simple sample that provides a Python implementation of -# the Calculator sample -# - - -# The module-level add function -def add(val1, val2): - result = float(val1) + float(val2) - print "Python - CalculatorImpl.add " + str(val1) + " + " + str(val2) + " = " + str(result) - return result - -# The module-level sub function -def sub(val1, val2): - result = float(val1) - float(val2) - print "Python - CalculatorImpl.sub " + str(val1) + " - " + str(val2) + " = " + str(result) - return result - -# The module-level mul function -def mul(val1, val2): - result = float(val1) * float(val2) - print "Python - CalculatorImpl.mul " + str(val1) + " * " + str(val2) + " = " + str(result) - return result - -# The module-level div function -def div(val1, val2): - - - print "Python - CalculatorImpl.div calling divideService to determine " + str(val1) + " / " + str(val2) - - # Use the divideService reference - result = divideService.divide(val1, val2) - - print "Python - CalculatorImpl.div divideService returned " + str(result) - - return result - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.componentType deleted file mode 100644 index fa2938279a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.componentType +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.py b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.py deleted file mode 100644 index 3921731de6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/DivideImpl.py +++ /dev/null @@ -1,65 +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. -# -# -# -# -# This Python code is a simple sample that provides a Python implementation of -# the Divide Service used in the Calculator sample -# -# Either use the divide function in the DivideClass class (using classes allows -# composite scoping to be used) -# e.g. in CalculatorComposite.composite use the line: -# -# -# Or just use the module-level divide function -# e.g. in CalculatorComposite.composite use the line: -# -# - - -class DivideClass: - "A class to handle dividing" - - def __init__(self): - print "Python - DivideImpl.DivideClass constructor" - - # The class-level divide function - def divide(self, val1, val2): - result = float(val1) / float(val2) - - print "Python - DivideImpl.DivideClass.divide " + str( val1 ) + " / " + str(val2) + " = " + str(result) - - # Use the doRounding property - if doRounding: - result = round(result) - print "Python - DivideImpl.DivideClass.divide is rounding the result to " + str(result) - - return result - -# The module-level divide function -def divide(val1, val2): - result = float(val1) / float(val2) - print "Python - DivideImpl.divide " + str(val1) + " / " + str(val2) + " = " + str(result) - - # Use the doRounding property - if doRounding: - result = round(result) - print "Python - DivideImpl.divide is rounding the result to " + str(result) - - return result - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/Makefile.am deleted file mode 100644 index 7c0cbd7b88..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/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/PythonCalculator/deploy -compositedir=$(deploydir)/sample.calculator - -composite_DATA = *.composite *.componentType *.wsdl *.py -composite_SCRIPTS = runwsserver.sh -EXTRA_DIST = *.composite *.componentType *.wsdl *.py runwsserver.sh - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat deleted file mode 100644 index 2e5df325b2..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat +++ /dev/null @@ -1,50 +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_SCACPP%\extensions\python\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% -set PYTHONPATH=%TUSCANY_SCACPP%\extensions\python\bin - -cd %AXIS2C_HOME%\bin -.\axis2_http_server.exe - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh deleted file mode 100755 index 570a439b4f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/runwsserver.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_SCACPP/extensions/python/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH -export PYTHONPATH=$TUSCANY_SCACPP/extensions/python/lib:$PYTHONPATH - -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-final/sca/samples/PythonCalculator/sample.calculator/sample.calculator.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/sample.calculator.composite deleted file mode 100644 index caac112edf..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/PythonCalculator/sample.calculator/sample.calculator.composite +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - CalculatorComponent - - - - - DivideComponent - - - - - true - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/README deleted file mode 100644 index 3d7155367d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/README +++ /dev/null @@ -1,2 +0,0 @@ -Please read the GettingStarted.html document for information on -building, installing and running Tuscany SCA for C++ Samples \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/Makefile.am deleted file mode 100644 index 69b34906a1..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/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/RubyBank/deploy -SUBDIRS = bigbank.account bigbank.client -EXTRA_DIST = *.composite README.html -deploy_DATA = *.composite diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README deleted file mode 100644 index 266b66cc9a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README +++ /dev/null @@ -1,22 +0,0 @@ -Tuscany SCA for C++ Samples - RubyBank Sample -=============================================== - -This sample implements the "Simplified BigBank" scenario. A whitepaper -describing the scenario based on the SCA 0.9 Assembly specification can be -found here. This sample uses multiple Ruby components, calls out to an -external Web Service via a reference, exposes the service as a Web Service -and also provides a PHP based client. - -There are two sub projects in this workspace: - - bigbank.account - This contains the source code and SCDL artifacts for the SCA BigBank - composite implementing the account services. - - - bigbank.client - A sample client which does a local call to the BigBank service. - -Additionally, there is the bigbank.accountmanagement.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-final/sca/samples/RubyBank/README.html b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README.html deleted file mode 100644 index f27d2752d3..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/README.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - - Tuscany SCA for C++ Samples - RubyBank Sample - - - -
-
-
-

Tuscany SCA for C++ Samples - RubyBank Sample

- -

This sample implements the "Simplified RubyBank" scenario. A whitepaper describing - the scenario based on the SCA 0.9 Assembly specification can be found - here. - This sample uses multiple Ruby components, calls out to an external Web Service via a reference - and exposes the service as a Web Service. -

-

There are two sub projects in this workspace:

-
    -
  • bigbank.account
    - This contains the source code and SCDL artifacts for the SCA RubyBank - composite implementing the account services. -
  • -
  • bigbank.client
    - A sample client which does a local call to the RubyBank service. -
  • -
-

Additionally, there is the bigbank.accountmanagement.composite file. This - describes the configuration of the SCA Calculator composite deployed to the SCA - runtime. -

-
- - - - -
-

Building the C++ samples on Linux

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Linux.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. As the RubyBank 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: -
      -
    • cd <tuscany_sca_install_dir>/samples
    • -
    • ./configure --enable-ruby --enable-cpp=no --prefix=$TUSCANY_SCACPP
    • -
    • make install
    • -
    - NOTE: If you don't provide the --prefix configure option, it will by default install into - /usr/local/tuscany/sca/samples/RubyBank -
  4. -
-
- -
-

Running the RubyBank sample on Linux

-

RubyBank with basic client

-
    -
  1. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  2. -
  3. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.92>
    • -
    -
  4. -
  5. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/RubyBank/deploy/bigbank.client
    • -
    • ./runclient.sh
    • -
    -
  6. -
-

RubyBank with Web Service clients

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  4. -
  5. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/RubyBank/deploy/bigbank.account -
    4. -
    5. ./runwsserver.sh
    6. -
    -
  6. -
  7. The Web Service client and PHP web client detailed in the - BigBank sample can both be used - with the RubyBank service that is served by the Axis2C http server started above. -
  8. -
-
- -
-

Building the RubyBank sample on Windows

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>\samples - go directly to Running the samples on Windows.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. 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: -
      -
    • cd <tuscany_sca_install_dir>\samples\RubyBank
    • -
    • deploy.cmd
    • -
    -
  4. -
-
- -
-

Running the RubyBank sample on Windows

-

RubyBank with basic client

-
    -
  1. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  2. -
  3. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  4. -
  5. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>\samples\RubyBank\deploy\bigbank.client
    • -
    • runclient.bat
    • -
    -
  6. -
-

RubyBank with Web Service clients

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  4. -
  5. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\RubyBank\deploy\bigbank.account -
    4. -
    5. runwsserver.bat
    6. -
    -
  6. -
  7. The Web Service client and PHP web client detailed in the - BigBank sample can both be used - with the RubyBank service that is served by the Axis2C http server started above. -
  8. -
-
- - - -
-

Getting Help

- -

First place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at - http://issues.apache.org/jira/browse/Tuscany.

-
-
-
- - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb deleted file mode 100644 index 8ae0e23bab..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountDataServiceImpl.rb +++ /dev/null @@ -1,72 +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 "rexml/document" -include REXML - -class AccountDataServiceImpl - - def initialize() - print "Ruby - AccountDataServiceImpl.initialize\n" - end - - def getCheckingAccount(id) - print "Ruby - AccountDataServiceImpl.getCheckingAccount ", id, "\n" - - result = Document.new <<-eof - - #{ id.to_s + "_CHA12345"} - 1500.0 - - eof - - return result - end - - def getSavingsAccount(id) - print "Ruby - AccountDataServiceImpl.getSavingsAccount ", id, "\n" - - result = Document.new <<-eof - - #{ id.to_s + "_SAA12345"} - 1500.0 - - eof - - return result - end - - def getStockAccount(id) - print "Ruby - AccountDataServiceImpl.getStockAccount ", id, "\n" - - result = Document.new <<-eof - - #{ id.to_s + "_STA12345"} - IBM - 100 - - - eof - - return result - end - -end diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountService.wsdl deleted file mode 100644 index cbfe180692..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountService.wsdl +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb deleted file mode 100644 index a82b226a76..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/AccountServiceImpl.rb +++ /dev/null @@ -1,94 +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 "rexml/document" -include REXML - -class AccountServiceImpl - - attr_writer :accountDataService - attr_writer :stockQuoteService - attr_writer :currency - - def initialize() - print "Ruby - AccountServiceImpl.initialize\n" - end - - def getAccountReport(customerID) - - checking = @accountDataService.getCheckingAccount(customerID) - - savings = @accountDataService.getSavingsAccount(customerID) - - stock = @accountDataService.getStockAccount(customerID); - symbol = stock.root.elements["symbol"].text - quantity = stock.root.elements["quantity"].text - - price = @stockQuoteService.getQuote(symbol); - - balance = fromUSDollarToCurrency(price.to_f * quantity.to_f) - - report = Document.new <<-eof - - - - - #{ checking.root.elements["accountNumber"].text } - - - #{ fromUSDollarToCurrency(checking.root.elements["balance"].text) } - - - - - - #{ savings.root.elements["accountNumber"].text } - - - #{ fromUSDollarToCurrency(savings.root.elements["balance"].text) } - - - - - - #{ stock.root.elements["accountNumber"].text } - - - #{ symbol } - - - #{ quantity } - - - #{ balance } - - - - - eof - - return report - end - - def fromUSDollarToCurrency(value) - return value.to_f * 0.8 if @currency == "EURO" - return value.to_f - end - -end diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/Makefile.am deleted file mode 100644 index 19059a004f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/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/RubyBank/deploy -compositedir=$(deploydir)/bigbank.account - -composite_SCRIPTS = runwsserver.sh - -composite_DATA = *.composite *.wsdl *.xsd *.rb -EXTRA_DIST = *.composite *.wsdl *.xsd runwsserver.sh *.rb diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb deleted file mode 100644 index c8bbe248a3..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteServiceImpl.rb +++ /dev/null @@ -1,41 +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 "rexml/document" -include REXML - -class StockQuoteServiceImpl - - attr_writer :webService - - def initialize() - print "Ruby - StockQuoteServiceImpl.initialize\n" - end - - def getQuote(symbol) - print "Ruby - StockQuoteServiceImpl.getQuote ", symbol, "\n" - - result = @webService.GetQuote(symbol) - doc = Document.new(result) - - price = doc.root.elements["Stock"].elements["Last"].text; - - return price.to_f - end - -end \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd deleted file mode 100644 index 2f7012b5fb..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteTypes.xsd +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl deleted file mode 100644 index c14f97c87b..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/StockQuoteWebService.wsdl +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - Get Stock quote for a company Symbol - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/bigbank.account.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/bigbank.account.composite deleted file mode 100644 index 96f0bd652f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/bigbank.account.composite +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - AccountServiceComponent - - - - - AccountDataServiceComponent - StockQuoteServiceComponent - EURO - - - - - - - - - StockQuoteWebService - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/runwsserver.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/runwsserver.bat deleted file mode 100644 index f95d5136ef..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/runwsserver.bat +++ /dev/null @@ -1,51 +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 APFULLDIR=%~d0%~p0 -set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ -set TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -rem Run the client -set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\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-final/sca/samples/RubyBank/bigbank.account/runwsserver.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/runwsserver.sh deleted file mode 100755 index eb20a3d670..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.account/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/extensions/cpp/lib:$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH - -export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM -export TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -cd $AXIS2C_HOME/bin -./axis2_http_server diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.accountmanagement.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.accountmanagement.composite deleted file mode 100644 index f5f0bbbb57..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.accountmanagement.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/AccountClient.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/AccountClient.rb deleted file mode 100644 index 731c77c9ce..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/AccountClient.rb +++ /dev/null @@ -1,26 +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") - -accountService = SCA::locateService("AccountServiceComponent") - -report = accountService.getAccountReport(1234) - -print report diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/Makefile.am deleted file mode 100644 index a289a22914..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.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/RubyBank/deploy -clientdir=$(deploydir)/bigbank.client - -client_DATA = *.rb -client_SCRIPTS = runclient.sh -EXTRA_DIST = runclient.sh *.rb diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.bat deleted file mode 100644 index f50bc2aa2d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.bat +++ /dev/null @@ -1,51 +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 APFULLDIR=%~d0%~p0 -set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ -set TUSCANY_SCACPP_DEFAULT_COMPONENT=bigbank.AccountManagementComponent - -rem Run the client -set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% - -cd %TUSCANY_SCACPP_SYSTEM_ROOT%\bigbank.client -ruby -I%TUSCANY_SCACPP%\extensions\ruby\bin AccountClient.rb - -:end -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.client/runclient.sh deleted file mode 100755 index 7ed579d393..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/bigbank.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=bigbank.AccountManagementComponent - -cd $TUSCANY_SCACPP_SYSTEM_ROOT/bigbank.client -ruby -I$TUSCANY_SCACPP/extensions/ruby/lib AccountClient.rb diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/deploy.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/deploy.cmd deleted file mode 100644 index 59b797e564..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyBank/deploy.cmd +++ /dev/null @@ -1,53 +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 bbdir=%samplesdir%\RubyBank - - -if . == %1. ( -set destinationPath=%bbdir%\deploy -) ELSE ( -set destinationPath=%1 -) - -if not exist %samplesdir% mkdir %samplesdir% -if not exist %bbdir% mkdir %bbdir% -if not exist %destinationPath% mkdir %destinationPath% -if not exist %destinationPath%\bigbank.account mkdir %destinationPath%\bigbank.account -if not exist %destinationPath%\bigbank.client mkdir %destinationPath%\bigbank.client - -copy %sourcePath%\bigbank.account\*.rb %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.composite %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.wsdl %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.xsd %destinationPath%\bigbank.account -copy %sourcePath%\bigbank.account\*.bat %destinationPath%\bigbank.account - -copy %sourcePath%\bigbank.client\*.rb %destinationPath%\bigbank.client -copy %sourcePath%\bigbank.client\*.bat %destinationPath%\bigbank.client - -copy %sourcePath%\*.composite %destinationPath% - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/Makefile.am deleted file mode 100644 index e111e518cf..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/README b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/README deleted file mode 100644 index 4104ff46b6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/README.html b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/README.html deleted file mode 100644 index 6fb00eb23a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/README.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - - - - - - Tuscany SCA for C++ Samples - RubyCalculator Sample - - - -
-
-
-

Tuscany SCA for C++ Samples - RubyCalculator Sample

- -

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. -

-

There are three sub projects in this workspace:

-
    -
  • sample.calculator
    - This contains the Ruby scripts 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 client which does a local call to a composite that contains a Web Service reference - that 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. -

-
- - - - -
-

Building the Ruby samples on Linux

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>/samples - go directly to Running the samples on Linux.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. 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: -
      -
    • cd <tuscany_sca_install_dir>/samples
    • -
    • ./configure --enable-ruby --enable-cpp=no --prefix=$TUSCANY_SCACPP
    • -
    • make install
    • -
    - NOTE: If you don't provide the --prefix configure option, it will by default install into - /usr/local/tuscany/sca/samples/RubyCalculator
  4. -
-
- -
-

Running the RubyCalculator sample on Linux

-

RubyCalculator with basic client

-
    -
  1. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  2. -
  3. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  4. -
  5. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>/samples/RubyCalculator/deploy/sample.calculator.client
    • -
    • ./runclient.sh
    • -
    -
  6. -
-

RubyCalculator with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  4. -
  5. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/RubyCalculator/deploy/sample.calculator
    4. -
    5. ./runwsserver.sh
    6. -
    -
  6. -
  7. Run the client: -
      -
    1. The following environment variable is required: -
        -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>/samples/RubyCalculator/deploy/sample.calculator.wsclient
    4. -
    5. ./runwsclient.sh
    6. -
    -
  8. -
-
- -
-

Building the RubyCalculator sample on Windows

-

If using the binary distribution the samples are built and installed in - <tuscany_sca_install_dir>\samples - go directly to Running the samples on Windows.

-
    -
  1. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA> -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO> -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
  2. - -
  3. 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: -
      -
    • cd <tuscany_sca_install_dir>\samples\RubyCalculator
    • -
    • deploy.cmd
    • -
    -
  4. -
-
- -
-

Running the RubyCalculator sample on Windows

-

RubyCalculator with basic client

-
    -
  1. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  2. -
  3. The following environment variables are required: -
      -
    • TUSCANY_SCACPP=<path to installed Tuscany SCA>
    • -
    • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
    • -
    • AXIS2C_HOME=<path to axis2c version 0.94>
    • -
    -
  4. -
  5. Run the sample with the following commands: -
      -
    • cd <tuscany_sca_install_dir>\samples\RubyCalculator\deploy\sample.calculator.client
    • -
    • runclient.bat
    • -
    -
  6. -
-

RubyCalculator with Web Service client

-
    -
  1. Ensure you have enabled Axis2C to run Tuscany SCA services. Follow the instructions - found here. -
  2. -
  3. Ensure you have enabled the Tuscany Ruby extension. Follow the instructions - found here. -
  4. -
  5. Start the Axis2C simple http server: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\RubyCalculator\deploy\sample.calculator
    4. -
    5. runwsserver.bat
    6. -
    -
  6. -
  7. Run the client: -
      -
    1. The following environment variables are required: -
        -
      • TUSCANY_SCACPP=<path to installed Tuscany SCA>
      • -
      • TUSCANY_SDOCPP=<path to installed Tuscany SDO>
      • -
      • AXIS2C_HOME=<path to axis2c version 0.94>
      • -
      -
    2. -
    3. cd <tuscany_sca_install_dir>\samples\RubyCalculator\deploy\sample.calculator.wsclient
    4. -
    5. runwsclient.bat
    6. -
    -
  8. -
-
- - - -
-

Getting Help

- -

First place to look is at the Tuscany FAQ at - http://incubator.apache.org/tuscany/faq.html

- -

Any problem with this release can be reported to the Tuscany - mailing lists or create a JIRA issue at http://issues.apache.org/jira/browse/Tuscany.

-
-
-
- - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/deploy.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/deploy.cmd deleted file mode 100644 index 2609c3b1e5..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/CalculatorClient.rb deleted file mode 100644 index 253928df0c..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/Makefile.am deleted file mode 100644 index 536a5f1072..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/runclient.bat deleted file mode 100644 index 4e9cc0f2cd..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.client/runclient.sh deleted file mode 100755 index 974dd2e41c..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.solution.composite deleted file mode 100644 index 0a8ae343db..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.solution.composite +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl deleted file mode 100644 index f74c3d5c33..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Calculator.wsdl +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/CalculatorWSClient.rb deleted file mode 100644 index 4022f8a636..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/Makefile.am deleted file mode 100644 index baef3cbb92..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.bat deleted file mode 100644 index f9a1ad62a7..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/runwsclient.sh deleted file mode 100755 index ec4053fb74..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite deleted file mode 100644 index 22d31b539c..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator.wsclient/sample.calculator.wsclient.composite +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl deleted file mode 100644 index f74c3d5c33..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/Calculator.wsdl +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/CalculatorImpl.rb deleted file mode 100644 index 36ed15ff9b..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/DivideImpl.rb deleted file mode 100644 index c6615bfcfa..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator/Makefile.am b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/Makefile.am deleted file mode 100644 index 2508e53093..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat deleted file mode 100644 index 9870d4600d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh deleted file mode 100755 index 69906579b2..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/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-final/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite deleted file mode 100644 index 90f68e8234..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/RubyCalculator/sample.calculator/sample.calculator.composite +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - CalculatorComponent - - - - - DivideComponent - - - - - true - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo.solution.composite deleted file mode 100644 index cf0df165ae..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo.solution.composite +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - supplychain.Retailer/RetailerService - supplychain.Logging/LoggingService - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/DemoClientImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/DemoClientImpl.componentType deleted file mode 100644 index a63e4c37d3..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/DemoClientImpl.componentType +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/supplychain.demo.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/supplychain.demo.composite deleted file mode 100644 index 20b0e49ec1..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.demo/supplychain.demo.composite +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - retailer - logging - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType deleted file mode 100644 index e78e602635..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggerImpl.componentType +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl deleted file mode 100644 index c78357b1a8..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/LoggingFacility.wsdl +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/supplychain.logging.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/supplychain.logging.composite deleted file mode 100644 index 2b28c8f9e2..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.logging/supplychain.logging.composite +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - Logger/Logging - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/Manufacturer.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/Manufacturer.wsdl deleted file mode 100644 index fb0c8a5676..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/Manufacturer.wsdl +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/ManufacturerImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/ManufacturerImpl.componentType deleted file mode 100644 index 63530bc0ee..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/ManufacturerImpl.componentType +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/WarehouseCallback.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/WarehouseCallback.wsdl deleted file mode 100644 index 256671f64f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/WarehouseCallback.wsdl +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/supplychain.manufacturer.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/supplychain.manufacturer.composite deleted file mode 100644 index c61657c0a7..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturer/supplychain.manufacturer.composite +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - ManufacturerProcess/ManufacturerService - - - - - - - callback - logging - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerA.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerA.solution.composite deleted file mode 100644 index 17449e51fa..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerA.solution.composite +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - supplychain.Logging/LoggingService - manufacturerA - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerB.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerB.solution.composite deleted file mode 100644 index 94535d704a..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerB.solution.composite +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - supplychain.Logging/LoggingService - manufacturerB - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerC.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerC.solution.composite deleted file mode 100644 index b4b9380af0..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.manufacturerC.solution.composite +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - supplychain.Logging/LoggingService - manufacturerC - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite deleted file mode 100644 index f7bad01614..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - supplychain.WarehouseA/WarehouseService - supplychain.WarehouseB/WarehouseService - supplychain.WarehouseC/WarehouseService - supplychain.Logging/LoggingService - - - - - supplychain.manufacturerA/ManufacturerService - supplychain.Logging/LoggingService - warehouseA - - - - - supplychain.manufacturerB/ManufacturerService - supplychain.Logging/LoggingService - warehouseB - - - - - supplychain.manufacturerA/ManufacturerService - supplychain.Logging/LoggingService - warehouseC - - - - supplychain.manufacturerA/callback - supplychain.WarehouseA/WarehouseCallbackService - - - supplychain.manufacturerB/callback - supplychain.WarehouseB/WarehouseCallbackService - - - supplychain.manufacturerC/callback - supplychain.WarehouseC/WarehouseCallbackService - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/Retailer.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/Retailer.wsdl deleted file mode 100644 index 39bd1963f2..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/Retailer.wsdl +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/RetailerImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/RetailerImpl.componentType deleted file mode 100644 index fb381ec9a6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/RetailerImpl.componentType +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/supplychain.retailer.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/supplychain.retailer.composite deleted file mode 100644 index 51a2b96b1b..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer/supplychain.retailer.composite +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - RetailerProcess/RetailerService - - - - - warehouses - logging - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl deleted file mode 100644 index a007f9957b..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType deleted file mode 100644 index fbc1edb462..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType deleted file mode 100644 index 7f63d3b571..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite b/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite deleted file mode 100644 index e44b964eb4..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - WarehouseProcess/WarehouseService - - - - - - WarehouseCallbackProcess/WarehouseCallbackService - - - - - - - manufacturer - logging - - - - - - logging - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/autogen.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/autogen.sh deleted file mode 100755 index 18277601c8..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/autogen.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# 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. - -for i in "libtoolize --force" aclocal autoconf autoheader -do - echo -n "Running $i..." - $i || exit 1 - echo 'done.' -done - -echo -n 'Running automake...' -automake --add-missing -echo 'done.' -exit 0 - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/build.sh b/tags/cpp-1.0-incubating-M2-final/sca/samples/build.sh deleted file mode 100755 index c332defce0..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/build.sh +++ /dev/null @@ -1,62 +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. - - -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" - -if [ x$PYTHON_LIB = x ]; then -echo "PYTHON_LIB not set. Python extension will not be built" -elif [ x$PYTHON_INCLUDE = x ]; then -echo "PYTHON_INCLUDE not set. Python extension will not be built" -elif [ x$PYTHON_VERSION = x ]; then -echo "PYTHON_VERSION not set. Python extension will not be built" -else -echo "Building PYTHON extension with Python $PYTHON_VERSION installed at $PYTHON_LIB, $PYTHON_INCLUDE" -ENABLE_PYTHON=--enable-python -fi - -if [ x$RUBY_LIB = x ]; then -echo "RUBY_LIB not set. Ruby extension will not be built" -elif [ x$RUBY_INCLUDE = x ]; then -echo "RUBY_INCLUDE not set. Ruby extension will not be built" -else -echo "Building Ruby extension with Ruby installed at $RUBY_LIB, $RUBY_INCLUDE" -ENABLE_RUBY=--enable-ruby -fi - -./configure --prefix=${TUSCANY_SCACPP} --enable-static=no ${ENABLE_RUBY} ${ENABLE_PYTHON} -make -make install - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/configure.ac b/tags/cpp-1.0-incubating-M2-final/sca/samples/configure.ac deleted file mode 100644 index f59c04ba2d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/configure.ac +++ /dev/null @@ -1,168 +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. - -dnl run autogen.sh to generate the configure script. - -AC_PREREQ(2.59) -AC_INIT(tuscany_sca_samples, 1.0-incubator-M2) -AC_CANONICAL_SYSTEM -AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) -AC_PREFIX_DEFAULT(/usr/local/tuscany/sca/samples) - -# Checks for programs. -AC_PROG_CXX -AC_PROG_CC -AC_PROG_CPP -AC_PROG_INSTALL -AC_PROG_LN_S -AC_PROG_MAKE_SET -AC_PROG_LIBTOOL - -# Check for dynamic library suffixes -AC_MSG_CHECKING([checking for dynamic library suffix]) -AC_CHECK_HEADER([sys/appleapiopts.h], - [AC_SUBST([libsuffix],[".dylib"]) AC_MSG_RESULT([using .dylib])], - [AC_SUBST([libsuffix],[".so"]) AC_MSG_RESULT([using .so])] -) - -# Checks for libraries. - -# Checks for header files. -AC_HEADER_DIRENT -AC_HEADER_STDC -AC_CHECK_HEADERS([inttypes.h stdlib.h string.h sys/time.h unistd.h]) - -# Checks for typedefs, structures, and compiler characteristics. -AC_HEADER_STDBOOL -AC_C_CONST -AC_C_INLINE - -# Checks for library functions. -AC_FUNC_CLOSEDIR_VOID -AC_FUNC_STAT -AC_FUNC_VPRINTF -AC_CHECK_FUNCS([getcwd putenv strdup]) - -AC_MSG_CHECKING(whether to build all samples) -AC_ARG_ENABLE(all-samples, [AS_HELP_STRING([--enable-all-samples],[build all samples [default=no]])], -[ case "${enableval}" in - no) - AC_MSG_RESULT(no) - want_all_samples=false - ;; - *) - AC_MSG_RESULT(yes) - want_all_samples=true - ;; - esac ], -[ AC_MSG_RESULT(no) - want_all_samples=false ] -) -AM_CONDITIONAL([WANT_ALL_SAMPLES], [test x$want_all_samples = xtrue]) - -AC_MSG_CHECKING(whether to build C++ samples) -AC_ARG_ENABLE(cpp, [AS_HELP_STRING([--enable-cpp],[build C++ samples [default=yes]])], -[ case "${enableval}" in - no) - AC_MSG_RESULT(no) - want_cpp_samples=false - ;; - *) - AC_MSG_RESULT(yes) - want_cpp_samples=true - ;; - esac ], -[ AC_MSG_RESULT(yes) - want_cpp_samples=true ] -) -AM_CONDITIONAL([WANT_CPP_SAMPLES], [test x$want_cpp_samples = xtrue]) - -AC_MSG_CHECKING(whether to build Python samples) -AC_ARG_ENABLE(python, [AS_HELP_STRING([--enable-python],[build Python samples [default=no]])], -[ case "${enableval}" in - no) - AC_MSG_RESULT(no) - want_python_samples=false - ;; - *) - AC_MSG_RESULT(yes) - want_python_samples=true - ;; - esac ], -[ AC_MSG_RESULT(no) - want_python_samples=false ] -) -AM_CONDITIONAL([WANT_PYTHON_SAMPLES], [test x$want_python_samples = xtrue]) - -AC_MSG_CHECKING(whether to build Ruby samples) -AC_ARG_ENABLE(ruby, [AS_HELP_STRING([--enable-ruby],[build Ruby samples [default=no]])], -[ case "${enableval}" in - no) - AC_MSG_RESULT(no) - want_ruby_samples=false - ;; - *) - AC_MSG_RESULT(yes) - want_ruby_samples=true - ;; - esac ], -[ AC_MSG_RESULT(no) - want_ruby_samples=false ] -) -AM_CONDITIONAL([WANT_RUBY_SAMPLES], [test x$want_ruby_samples = xtrue]) - -AC_MSG_CHECKING(whether to build PHP samples) -AC_ARG_ENABLE(php, [AS_HELP_STRING([--enable-php],[build PHP samples [default=no]])], -[ case "${enableval}" in - no) - AC_MSG_RESULT(no) - want_php_samples=false - ;; - *) - AC_MSG_RESULT(yes) - want_php_samples=true - ;; - esac ], -[ AC_MSG_RESULT(no) - want_php_samples=false ] -) -AM_CONDITIONAL([WANT_PHP_SAMPLES], [test x$want_php_samples = xtrue]) - -AC_CONFIG_FILES([Makefile - Calculator/Makefile - Calculator/sample.calculator/Makefile - Calculator/sample.calculator.client/Makefile - Calculator/sample.calculator.wsclient/Makefile - RubyCalculator/Makefile - RubyCalculator/sample.calculator/Makefile - RubyCalculator/sample.calculator.client/Makefile - RubyCalculator/sample.calculator.wsclient/Makefile - PythonCalculator/Makefile - PythonCalculator/sample.calculator/Makefile - PythonCalculator/sample.calculator.client/Makefile - PythonCalculator/sample.calculator.wsclient/Makefile - BigBank/Makefile - BigBank/bigbank.account/Makefile - BigBank/bigbank.client/Makefile - BigBank/bigbank.wsclient/Makefile - BigBank/bigbank.phpwsclient/Makefile - RubyBank/Makefile - RubyBank/bigbank.account/Makefile - RubyBank/bigbank.client/Makefile - ]) -AC_OUTPUT diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.dsp deleted file mode 100644 index afc73a11e9..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.dsp +++ /dev/null @@ -1,116 +0,0 @@ -# Microsoft Developer Studio Project File - Name="AccountClient" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=AccountClient - 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 "AccountClient.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 "AccountClient.mak" CFG="AccountClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "AccountClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "AccountClient - 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)" == "AccountClient - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\BigBank\bigbank.account" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib /nologo /subsystem:console /machine:I386 /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\BigBank\deployclient.bat ..\..\..\..\..\BigBank Release call ..\..\..\..\..\scagen.bat ..\..\..\..\..\BigBank\bigbank.account -# End Special Build Tool - -!ELSEIF "$(CFG)" == "AccountClient - 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 /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\..\BigBank\bigbank.account" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\BigBank\deployclient.bat ..\..\..\..\..\BigBank Debug call ..\..\..\..\..\scagen.bat ..\..\..\..\..\BigBank\bigbank.account -# End Special Build Tool - -!ENDIF - -# Begin Target - -# Name "AccountClient - Win32 Release" -# Name "AccountClient - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.client\AccountClient.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.client\AccountService.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 -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.mak deleted file mode 100644 index 0368231581..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/AccountClient/AccountClient.mak +++ /dev/null @@ -1,214 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on AccountClient.dsp -!IF "$(CFG)" == "" -CFG=AccountClient - Win32 Debug -!MESSAGE No configuration specified. Defaulting to AccountClient - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "AccountClient - Win32 Release" && "$(CFG)" != "AccountClient - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "AccountClient.mak" CFG="AccountClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "AccountClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "AccountClient - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -!IF "$(CFG)" == "AccountClient - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -ALL : "$(OUTDIR)\AccountClient.exe" - - -CLEAN : - -@erase "$(INTDIR)\AccountClient.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\AccountClient.exe" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\BigBank\bigbank.account" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\AccountClient.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\AccountClient.pdb" /machine:I386 /out:"$(OUTDIR)\AccountClient.exe" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -LINK32_OBJS= \ - "$(INTDIR)\AccountClient.obj" - -"$(OUTDIR)\AccountClient.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\AccountClient.exe" - call ..\..\..\..\..\BigBank\deployclient.bat ..\..\..\..\..\BigBank Release - call ..\..\..\..\..\scagen.bat ..\..\..\..\..\BigBank\bigbank.account - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ELSEIF "$(CFG)" == "AccountClient - Win32 Debug" - -OUTDIR=.\Debug -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -ALL : "$(OUTDIR)\AccountClient.exe" - - -CLEAN : - -@erase "$(INTDIR)\AccountClient.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\AccountClient.exe" - -@erase "$(OUTDIR)\AccountClient.ilk" - -@erase "$(OUTDIR)\AccountClient.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\..\BigBank\bigbank.account" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\AccountClient.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\AccountClient.pdb" /debug /machine:I386 /out:"$(OUTDIR)\AccountClient.exe" /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -LINK32_OBJS= \ - "$(INTDIR)\AccountClient.obj" - -"$(OUTDIR)\AccountClient.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\AccountClient.exe" - call ..\..\..\..\..\BigBank\deployclient.bat ..\..\..\..\..\BigBank Debug - call ..\..\..\..\..\scagen.bat ..\..\..\..\..\BigBank\bigbank.account - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ENDIF - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("AccountClient.dep") -!INCLUDE "AccountClient.dep" -!ELSE -!MESSAGE Warning: cannot find "AccountClient.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "AccountClient - Win32 Release" || "$(CFG)" == "AccountClient - Win32 Debug" -SOURCE=..\..\..\..\..\BigBank\bigbank.client\AccountClient.cpp - -"$(INTDIR)\AccountClient.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.dsp deleted file mode 100644 index 91b6640c91..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.dsp +++ /dev/null @@ -1,253 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Accounts" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=Accounts - 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 "Accounts.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 "Accounts.mak" CFG="Accounts - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Accounts - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "Accounts - 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)" == "Accounts - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /FD /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib /nologo /dll /machine:I386 /out:"Release/Account.dll" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\BigBank\deploy.bat ..\..\..\..\..\BigBank Release -# End Special Build Tool - -!ELSEIF "$(CFG)" == "Accounts - 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 "ACCOUNTS_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /FD /GZ /c -# SUBTRACT CPP /YX -# 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_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib /nologo /dll /debug /machine:I386 /out:"Debug/Account.dll" /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\BigBank\deploy.bat ..\..\..\..\..\BigBank Debug -# End Special Build Tool - -!ENDIF - -# Begin Target - -# Name "Accounts - Win32 Release" -# Name "Accounts - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Wrapper.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_accountDataService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Wrapper.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_stockQuoteService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_webService_Proxy.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataService.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Wrapper.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountService.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_accountDataService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Wrapper.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_stockQuoteService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteService.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Wrapper.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_webService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteWebService.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" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.componentType -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountService.wsdl -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.componentType -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\bigbank.account.composite -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.componentType -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteTypes.xsd -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteWebService.wsdl -# End Source File -# End Group -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.mak deleted file mode 100644 index b173c70132..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Accounts/Accounts.mak +++ /dev/null @@ -1,344 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on Accounts.dsp -!IF "$(CFG)" == "" -CFG=Accounts - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Accounts - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Accounts - Win32 Release" && "$(CFG)" != "Accounts - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "Accounts.mak" CFG="Accounts - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Accounts - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "Accounts - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Accounts - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\Account.dll" - -!ELSE - -ALL : "AccountClient - Win32 Release" "$(OUTDIR)\Account.dll" - -!ENDIF - -!IF "$(RECURSE)" == "1" -CLEAN :"AccountClient - Win32 ReleaseCLEAN" -!ELSE -CLEAN : -!ENDIF - -@erase "$(INTDIR)\AccountDataServiceImpl.obj" - -@erase "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Proxy.obj" - -@erase "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Wrapper.obj" - -@erase "$(INTDIR)\AccountServiceImpl.obj" - -@erase "$(INTDIR)\AccountServiceImpl_accountDataService_Proxy.obj" - -@erase "$(INTDIR)\AccountServiceImpl_AccountService_Proxy.obj" - -@erase "$(INTDIR)\AccountServiceImpl_AccountService_Wrapper.obj" - -@erase "$(INTDIR)\AccountServiceImpl_stockQuoteService_Proxy.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Proxy.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Wrapper.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl_webService_Proxy.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\Account.dll" - -@erase "$(OUTDIR)\Account.exp" - -@erase "$(OUTDIR)\Account.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c -MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Accounts.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\Account.pdb" /machine:I386 /out:"$(OUTDIR)\Account.dll" /implib:"$(OUTDIR)\Account.lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -LINK32_OBJS= \ - "$(INTDIR)\AccountDataServiceImpl.obj" \ - "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Proxy.obj" \ - "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Wrapper.obj" \ - "$(INTDIR)\AccountServiceImpl.obj" \ - "$(INTDIR)\AccountServiceImpl_accountDataService_Proxy.obj" \ - "$(INTDIR)\AccountServiceImpl_AccountService_Proxy.obj" \ - "$(INTDIR)\AccountServiceImpl_AccountService_Wrapper.obj" \ - "$(INTDIR)\AccountServiceImpl_stockQuoteService_Proxy.obj" \ - "$(INTDIR)\StockQuoteServiceImpl.obj" \ - "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Proxy.obj" \ - "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Wrapper.obj" \ - "$(INTDIR)\StockQuoteServiceImpl_webService_Proxy.obj" - -"$(OUTDIR)\Account.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "AccountClient - Win32 Release" "$(OUTDIR)\Account.dll" - call ..\..\..\..\..\BigBank\deploy.bat ..\..\..\..\..\BigBank Release - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ELSEIF "$(CFG)" == "Accounts - Win32 Debug" - -OUTDIR=.\Debug -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\Account.dll" - -!ELSE - -ALL : "AccountClient - Win32 Debug" "$(OUTDIR)\Account.dll" - -!ENDIF - -!IF "$(RECURSE)" == "1" -CLEAN :"AccountClient - Win32 DebugCLEAN" -!ELSE -CLEAN : -!ENDIF - -@erase "$(INTDIR)\AccountDataServiceImpl.obj" - -@erase "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Proxy.obj" - -@erase "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Wrapper.obj" - -@erase "$(INTDIR)\AccountServiceImpl.obj" - -@erase "$(INTDIR)\AccountServiceImpl_accountDataService_Proxy.obj" - -@erase "$(INTDIR)\AccountServiceImpl_AccountService_Proxy.obj" - -@erase "$(INTDIR)\AccountServiceImpl_AccountService_Wrapper.obj" - -@erase "$(INTDIR)\AccountServiceImpl_stockQuoteService_Proxy.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Proxy.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Wrapper.obj" - -@erase "$(INTDIR)\StockQuoteServiceImpl_webService_Proxy.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\Account.dll" - -@erase "$(OUTDIR)\Account.exp" - -@erase "$(OUTDIR)\Account.ilk" - -@erase "$(OUTDIR)\Account.lib" - -@erase "$(OUTDIR)\Account.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c -MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Accounts.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\Account.pdb" /debug /machine:I386 /out:"$(OUTDIR)\Account.dll" /implib:"$(OUTDIR)\Account.lib" /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" -LINK32_OBJS= \ - "$(INTDIR)\AccountDataServiceImpl.obj" \ - "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Proxy.obj" \ - "$(INTDIR)\AccountDataServiceImpl_AccountDataService_Wrapper.obj" \ - "$(INTDIR)\AccountServiceImpl.obj" \ - "$(INTDIR)\AccountServiceImpl_accountDataService_Proxy.obj" \ - "$(INTDIR)\AccountServiceImpl_AccountService_Proxy.obj" \ - "$(INTDIR)\AccountServiceImpl_AccountService_Wrapper.obj" \ - "$(INTDIR)\AccountServiceImpl_stockQuoteService_Proxy.obj" \ - "$(INTDIR)\StockQuoteServiceImpl.obj" \ - "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Proxy.obj" \ - "$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Wrapper.obj" \ - "$(INTDIR)\StockQuoteServiceImpl_webService_Proxy.obj" - -"$(OUTDIR)\Account.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "AccountClient - Win32 Debug" "$(OUTDIR)\Account.dll" - call ..\..\..\..\..\BigBank\deploy.bat ..\..\..\..\..\BigBank Debug - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ENDIF - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("Accounts.dep") -!INCLUDE "Accounts.dep" -!ELSE -!MESSAGE Warning: cannot find "Accounts.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "Accounts - Win32 Release" || "$(CFG)" == "Accounts - Win32 Debug" -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.cpp - -"$(INTDIR)\AccountDataServiceImpl.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Proxy.cpp - -"$(INTDIR)\AccountDataServiceImpl_AccountDataService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Wrapper.cpp - -"$(INTDIR)\AccountDataServiceImpl_AccountDataService_Wrapper.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.cpp - -"$(INTDIR)\AccountServiceImpl.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_accountDataService_Proxy.cpp - -"$(INTDIR)\AccountServiceImpl_accountDataService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Proxy.cpp - -"$(INTDIR)\AccountServiceImpl_AccountService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Wrapper.cpp - -"$(INTDIR)\AccountServiceImpl_AccountService_Wrapper.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_stockQuoteService_Proxy.cpp - -"$(INTDIR)\AccountServiceImpl_stockQuoteService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.cpp - -"$(INTDIR)\StockQuoteServiceImpl.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp - -"$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp - -"$(INTDIR)\StockQuoteServiceImpl_StockQuoteService_Wrapper.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_webService_Proxy.cpp - -"$(INTDIR)\StockQuoteServiceImpl_webService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!IF "$(CFG)" == "Accounts - Win32 Release" - -"AccountClient - Win32 Release" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Release" - cd "..\Accounts" - -"AccountClient - Win32 ReleaseCLEAN" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Release" RECURSE=1 CLEAN - cd "..\Accounts" - -!ELSEIF "$(CFG)" == "Accounts - Win32 Debug" - -"AccountClient - Win32 Debug" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Debug" - cd "..\Accounts" - -"AccountClient - Win32 DebugCLEAN" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Debug" RECURSE=1 CLEAN - cd "..\Accounts" - -!ENDIF - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.dsw b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.dsw deleted file mode 100644 index 5771d655c1..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.dsw +++ /dev/null @@ -1,77 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "AccountClient"=.\AccountClient\AccountClient.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Accounts"=.\Accounts\Accounts.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name AccountClient - End Project Dependency -}}} - -############################################################################### - -Project: "Build"=.\Build\Build.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Accounts - End Project Dependency - Begin Project Dependency - Project_Dep_Name AccountClient - End Project Dependency - Begin Project Dependency - Project_Dep_Name WSAccountClient - End Project Dependency -}}} - -############################################################################### - -Project: "WSAccountClient"=.\WSAccountClient\WSAccountClient.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.ncb b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.ncb deleted file mode 100644 index e2b54fa05d..0000000000 Binary files a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.ncb and /dev/null differ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.opt b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.opt deleted file mode 100644 index 3abec54f7b..0000000000 Binary files a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/BigBank.opt and /dev/null differ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.dsp deleted file mode 100644 index 9a8320cefb..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.dsp +++ /dev/null @@ -1,63 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Build" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Generic Project" 0x010a - -CFG=Build - 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 "Build.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 "Build.mak" CFG="Build - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Build - Win32 Release" (based on "Win32 (x86) Generic Project") -!MESSAGE "Build - 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)" == "Build - 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)" == "Build - 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 "Build - Win32 Release" -# Name "Build - Win32 Debug" -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.mak deleted file mode 100644 index 452df03c2d..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/Build/Build.mak +++ /dev/null @@ -1,152 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on Build.dsp -!IF "$(CFG)" == "" -CFG=Build - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Build - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Build - Win32 Release" && "$(CFG)" != "Build - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "Build.mak" CFG="Build - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Build - Win32 Release" (based on "Win32 (x86) Generic Project") -!MESSAGE "Build - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -OUTDIR=.\Release -INTDIR=.\Release - -!IF "$(RECURSE)" == "0" - -ALL : - -!ELSE - -ALL : "WSAccountClient - Win32 Release" "AccountClient - Win32 Release" "Accounts - Win32 Release" - -!ENDIF - -!IF "$(RECURSE)" == "1" -CLEAN :"Accounts - Win32 ReleaseCLEAN" "AccountClient - Win32 ReleaseCLEAN" "WSAccountClient - Win32 ReleaseCLEAN" -!ELSE -CLEAN : -!ENDIF - -@erase - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -MTL=midl.exe - -!IF "$(CFG)" == "Build - Win32 Release" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -!ENDIF - -MTL_PROJ= - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("Build.dep") -!INCLUDE "Build.dep" -!ELSE -!MESSAGE Warning: cannot find "Build.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "Build - Win32 Release" || "$(CFG)" == "Build - Win32 Debug" - -!IF "$(CFG)" == "Build - Win32 Release" - -"Accounts - Win32 Release" : - cd "..\Accounts" - $(MAKE) /$(MAKEFLAGS) /F .\Accounts.mak CFG="Accounts - Win32 Release" - cd "..\Build" - -"Accounts - Win32 ReleaseCLEAN" : - cd "..\Accounts" - $(MAKE) /$(MAKEFLAGS) /F .\Accounts.mak CFG="Accounts - Win32 Release" RECURSE=1 CLEAN - cd "..\Build" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -"Accounts - Win32 Debug" : - cd "..\Accounts" - $(MAKE) /$(MAKEFLAGS) /F .\Accounts.mak CFG="Accounts - Win32 Debug" - cd "..\Build" - -"Accounts - Win32 DebugCLEAN" : - cd "..\Accounts" - $(MAKE) /$(MAKEFLAGS) /F .\Accounts.mak CFG="Accounts - Win32 Debug" RECURSE=1 CLEAN - cd "..\Build" - -!ENDIF - -!IF "$(CFG)" == "Build - Win32 Release" - -"AccountClient - Win32 Release" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Release" - cd "..\Build" - -"AccountClient - Win32 ReleaseCLEAN" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Release" RECURSE=1 CLEAN - cd "..\Build" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -"AccountClient - Win32 Debug" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Debug" - cd "..\Build" - -"AccountClient - Win32 DebugCLEAN" : - cd "..\AccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\AccountClient.mak CFG="AccountClient - Win32 Debug" RECURSE=1 CLEAN - cd "..\Build" - -!ENDIF - -!IF "$(CFG)" == "Build - Win32 Release" - -"WSAccountClient - Win32 Release" : - cd "..\WSAccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSAccountClient.mak CFG="WSAccountClient - Win32 Release" - cd "..\Build" - -"WSAccountClient - Win32 ReleaseCLEAN" : - cd "..\WSAccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSAccountClient.mak CFG="WSAccountClient - Win32 Release" RECURSE=1 CLEAN - cd "..\Build" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -"WSAccountClient - Win32 Debug" : - cd "..\WSAccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSAccountClient.mak CFG="WSAccountClient - Win32 Debug" - cd "..\Build" - -"WSAccountClient - Win32 DebugCLEAN" : - cd "..\WSAccountClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSAccountClient.mak CFG="WSAccountClient - Win32 Debug" RECURSE=1 CLEAN - cd "..\Build" - -!ENDIF - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.dsp deleted file mode 100644 index 1c240d56d4..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.dsp +++ /dev/null @@ -1,120 +0,0 @@ -# Microsoft Developer Studio Project File - Name="WSAccountClient" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=WSAccountClient - 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 "WSAccountClient.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 "WSAccountClient.mak" CFG="WSAccountClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WSAccountClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "WSAccountClient - 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)" == "WSAccountClient - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "$(AXIS2C_HOME)\include" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /machine:I386 /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(AXIS2C_HOME)/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\BigBank\deploywsclient.bat ..\..\..\..\..\BigBank Release -# End Special Build Tool - -!ELSEIF "$(CFG)" == "WSAccountClient - 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 /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(AXIS2C_HOME)\include" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(AXIS2C_HOME)/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\BigBank\deploywsclient.bat ..\..\..\..\..\BigBank Debug -# End Special Build Tool - -!ENDIF - -# Begin Target - -# Name "WSAccountClient - Win32 Release" -# Name "WSAccountClient - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.wsclient\AccountWSClient.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.wsclient\axis2_Account_stub.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\..\..\..\BigBank\bigbank.wsclient\axis2_Account_stub.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 -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.mak deleted file mode 100644 index 9f6881a584..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/WSAccountClient/WSAccountClient.mak +++ /dev/null @@ -1,189 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on WSAccountClient.dsp -!IF "$(CFG)" == "" -CFG=WSAccountClient - Win32 Debug -!MESSAGE No configuration specified. Defaulting to WSAccountClient - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "WSAccountClient - Win32 Release" && "$(CFG)" != "WSAccountClient - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "WSAccountClient.mak" CFG="WSAccountClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WSAccountClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "WSAccountClient - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "WSAccountClient - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -ALL : "$(OUTDIR)\WSAccountClient.exe" - - -CLEAN : - -@erase "$(INTDIR)\AccountWSClient.obj" - -@erase "$(INTDIR)\axis2_Account_stub.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\WSAccountClient.exe" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "$(AXIS2C_HOME)\include" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\WSAccountClient.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\WSAccountClient.pdb" /machine:I386 /out:"$(OUTDIR)\WSAccountClient.exe" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(AXIS2C_HOME)/lib" -LINK32_OBJS= \ - "$(INTDIR)\AccountWSClient.obj" \ - "$(INTDIR)\axis2_Account_stub.obj" - -"$(OUTDIR)\WSAccountClient.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\WSAccountClient.exe" - call ..\..\..\..\..\BigBank\deploywsclient.bat ..\..\..\..\..\BigBank Release - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ELSEIF "$(CFG)" == "WSAccountClient - Win32 Debug" - -OUTDIR=.\Debug -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -ALL : "$(OUTDIR)\WSAccountClient.exe" - - -CLEAN : - -@erase "$(INTDIR)\AccountWSClient.obj" - -@erase "$(INTDIR)\axis2_Account_stub.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\WSAccountClient.exe" - -@erase "$(OUTDIR)\WSAccountClient.ilk" - -@erase "$(OUTDIR)\WSAccountClient.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(AXIS2C_HOME)\include" /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SCACPP)\extensions\cpp\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\WSAccountClient.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\WSAccountClient.pdb" /debug /machine:I386 /out:"$(OUTDIR)\WSAccountClient.exe" /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(AXIS2C_HOME)/lib" -LINK32_OBJS= \ - "$(INTDIR)\AccountWSClient.obj" \ - "$(INTDIR)\axis2_Account_stub.obj" - -"$(OUTDIR)\WSAccountClient.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\WSAccountClient.exe" - call ..\..\..\..\..\BigBank\deploywsclient.bat ..\..\..\..\..\BigBank Debug - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ENDIF - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("WSAccountClient.dep") -!INCLUDE "WSAccountClient.dep" -!ELSE -!MESSAGE Warning: cannot find "WSAccountClient.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "WSAccountClient - Win32 Release" || "$(CFG)" == "WSAccountClient - Win32 Debug" -SOURCE=..\..\..\..\..\BigBank\bigbank.wsclient\AccountWSClient.cpp - -"$(INTDIR)\AccountWSClient.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\BigBank\bigbank.wsclient\axis2_Account_stub.cpp - -"$(INTDIR)\axis2_Account_stub.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/build.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/build.cmd deleted file mode 100644 index 0cf0ac8e3e..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/BigBank/build.cmd +++ /dev/null @@ -1,24 +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 -call vcvars32 -cd Build -nmake -f Build.mak CFG="Build - Win32 Release" -cd .. -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.dsp deleted file mode 100644 index 9a8320cefb..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.dsp +++ /dev/null @@ -1,63 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Build" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Generic Project" 0x010a - -CFG=Build - 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 "Build.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 "Build.mak" CFG="Build - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Build - Win32 Release" (based on "Win32 (x86) Generic Project") -!MESSAGE "Build - 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)" == "Build - 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)" == "Build - 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 "Build - Win32 Release" -# Name "Build - Win32 Debug" -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.mak deleted file mode 100644 index 1c01e71a39..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Build/Build.mak +++ /dev/null @@ -1,155 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on Build.dsp -!IF "$(CFG)" == "" -CFG=Build - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Build - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Build - Win32 Release" && "$(CFG)" != "Build - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "Build.mak" CFG="Build - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Build - Win32 Release" (based on "Win32 (x86) Generic Project") -!MESSAGE "Build - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -OUTDIR=.\Release -INTDIR=.\Release - -!IF "$(RECURSE)" == "0" - -ALL : - -!ELSE - -ALL : "WSClient - Win32 Release" "Client - Win32 Release" "Calculator - Win32 Release" - -!ENDIF - -!IF "$(RECURSE)" == "1" -CLEAN :"Calculator - Win32 ReleaseCLEAN" "Client - Win32 ReleaseCLEAN" "WSClient - Win32 ReleaseCLEAN" -!ELSE -CLEAN : -!ENDIF - -@erase - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -!IF "$(CFG)" == "Build - Win32 Release" - -MTL=midl.exe -MTL_PROJ= - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -MTL=midl.exe -MTL_PROJ= - -!ENDIF - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("Build.dep") -!INCLUDE "Build.dep" -!ELSE -!MESSAGE Warning: cannot find "Build.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "Build - Win32 Release" || "$(CFG)" == "Build - Win32 Debug" - -!IF "$(CFG)" == "Build - Win32 Release" - -"Calculator - Win32 Release" : - cd "..\Calculator" - $(MAKE) /$(MAKEFLAGS) /F .\Calculator.mak CFG="Calculator - Win32 Release" - cd "..\Build" - -"Calculator - Win32 ReleaseCLEAN" : - cd "..\Calculator" - $(MAKE) /$(MAKEFLAGS) /F .\Calculator.mak CFG="Calculator - Win32 Release" RECURSE=1 CLEAN - cd "..\Build" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -"Calculator - Win32 Debug" : - cd "..\Calculator" - $(MAKE) /$(MAKEFLAGS) /F .\Calculator.mak CFG="Calculator - Win32 Debug" - cd "..\Build" - -"Calculator - Win32 DebugCLEAN" : - cd "..\Calculator" - $(MAKE) /$(MAKEFLAGS) /F .\Calculator.mak CFG="Calculator - Win32 Debug" RECURSE=1 CLEAN - cd "..\Build" - -!ENDIF - -!IF "$(CFG)" == "Build - Win32 Release" - -"Client - Win32 Release" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Release" - cd "..\Build" - -"Client - Win32 ReleaseCLEAN" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Release" RECURSE=1 CLEAN - cd "..\Build" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -"Client - Win32 Debug" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Debug" - cd "..\Build" - -"Client - Win32 DebugCLEAN" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Debug" RECURSE=1 CLEAN - cd "..\Build" - -!ENDIF - -!IF "$(CFG)" == "Build - Win32 Release" - -"WSClient - Win32 Release" : - cd "..\WSClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSClient.mak CFG="WSClient - Win32 Release" - cd "..\Build" - -"WSClient - Win32 ReleaseCLEAN" : - cd "..\WSClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSClient.mak CFG="WSClient - Win32 Release" RECURSE=1 CLEAN - cd "..\Build" - -!ELSEIF "$(CFG)" == "Build - Win32 Debug" - -"WSClient - Win32 Debug" : - cd "..\WSClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSClient.mak CFG="WSClient - Win32 Debug" - cd "..\Build" - -"WSClient - Win32 DebugCLEAN" : - cd "..\WSClient" - $(MAKE) /$(MAKEFLAGS) /F .\WSClient.mak CFG="WSClient - Win32 Debug" RECURSE=1 CLEAN - cd "..\Build" - -!ENDIF - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.dsw b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.dsw deleted file mode 100644 index 05f9141d98..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.dsw +++ /dev/null @@ -1,77 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Build"=.\Build\Build.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Calculator - End Project Dependency - Begin Project Dependency - Project_Dep_Name Client - End Project Dependency - Begin Project Dependency - Project_Dep_Name WSClient - End Project Dependency -}}} - -############################################################################### - -Project: "Calculator"=.\Calculator\Calculator.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Client - End Project Dependency -}}} - -############################################################################### - -Project: "Client"=.\Client\Client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "WSClient"=.\WSClient\WSClient.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.ncb b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.ncb deleted file mode 100644 index fde3e53f96..0000000000 Binary files a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.ncb and /dev/null differ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.opt b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.opt deleted file mode 100644 index 790ea91cd2..0000000000 Binary files a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator.opt and /dev/null differ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.dsp deleted file mode 100644 index 2dbc91fcf0..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.dsp +++ /dev/null @@ -1,197 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Calculator" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=Calculator - 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 "Calculator.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 "Calculator.mak" CFG="Calculator - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Calculator - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "Calculator - 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)" == "Calculator - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATOR_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATOR_EXPORTS" /FD /c -# SUBTRACT CPP /YX -# 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 tuscany_sca_cpp.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /machine:I386 /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\Calculator\deploy.bat ..\..\..\..\..\Calculator Release -# End Special Build Tool - -!ELSEIF "$(CFG)" == "Calculator - 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 "CALCULATOR_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATOR_EXPORTS" /FD /GZ /c -# SUBTRACT CPP /YX -# 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_cpp.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\Calculator\deploy.bat ..\..\..\..\..\Calculator Debug -# End Special Build Tool - -!ENDIF - -# Begin Target - -# Name "Calculator - Win32 Release" -# Name "Calculator - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_CalculatorService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_CalculatorService_Wrapper.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_divideService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl_DivideService_Proxy.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl_DivideService_Wrapper.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\Calculator.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_CalculatorService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_CalculatorService_Wrapper.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_divideService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\Divide.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl_DivideService_Proxy.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl_DivideService_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" -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\CalculatorComposite\Calculator.wsdl -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\CalculatorComposite\sca.composite -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\CalculatorSubsystem\sca.subsystem -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\CalculatorComposite\services.xml -# End Source File -# Begin Source File - -SOURCE="..\..\..\..\..\Calculator\CalculatorComposite\Tuscany-model.config" -# End Source File -# End Group -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.mak deleted file mode 100644 index c0ecc9fecf..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Calculator/Calculator.mak +++ /dev/null @@ -1,328 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on Calculator.dsp -!IF "$(CFG)" == "" -CFG=Calculator - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Calculator - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Calculator - Win32 Release" && "$(CFG)" != "Calculator - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "Calculator.mak" CFG="Calculator - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Calculator - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "Calculator - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -!IF "$(CFG)" == "Calculator - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\Calculator.dll" - -!ELSE - -ALL : "Client - Win32 Release" "$(OUTDIR)\Calculator.dll" - -!ENDIF - -!IF "$(RECURSE)" == "1" -CLEAN :"Client - Win32 ReleaseCLEAN" -!ELSE -CLEAN : -!ENDIF - -@erase "$(INTDIR)\CalculatorImpl.obj" - -@erase "$(INTDIR)\CalculatorImpl_CalculatorService_Proxy.obj" - -@erase "$(INTDIR)\CalculatorImpl_CalculatorService_Wrapper.obj" - -@erase "$(INTDIR)\CalculatorImpl_divideService_Proxy.obj" - -@erase "$(INTDIR)\DivideImpl.obj" - -@erase "$(INTDIR)\DivideImpl_DivideService_Proxy.obj" - -@erase "$(INTDIR)\DivideImpl_DivideService_Wrapper.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\Calculator.dll" - -@erase "$(OUTDIR)\Calculator.exp" - -@erase "$(OUTDIR)\Calculator.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATOR_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -MTL=midl.exe -MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Calculator.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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_cpp.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\Calculator.pdb" /machine:I386 /out:"$(OUTDIR)\Calculator.dll" /implib:"$(OUTDIR)\Calculator.lib" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -LINK32_OBJS= \ - "$(INTDIR)\CalculatorImpl.obj" \ - "$(INTDIR)\CalculatorImpl_CalculatorService_Proxy.obj" \ - "$(INTDIR)\CalculatorImpl_CalculatorService_Wrapper.obj" \ - "$(INTDIR)\CalculatorImpl_divideService_Proxy.obj" \ - "$(INTDIR)\DivideImpl.obj" \ - "$(INTDIR)\DivideImpl_DivideService_Proxy.obj" \ - "$(INTDIR)\DivideImpl_DivideService_Wrapper.obj" - -"$(OUTDIR)\Calculator.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "Client - Win32 Release" "$(OUTDIR)\Calculator.dll" - call ..\..\..\..\..\Calculator\deploy.bat ..\..\..\..\..\Calculator Release - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ELSEIF "$(CFG)" == "Calculator - Win32 Debug" - -OUTDIR=.\Debug -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\Calculator.dll" - -!ELSE - -ALL : "Client - Win32 Debug" "$(OUTDIR)\Calculator.dll" - -!ENDIF - -!IF "$(RECURSE)" == "1" -CLEAN :"Client - Win32 DebugCLEAN" -!ELSE -CLEAN : -!ENDIF - -@erase "$(INTDIR)\CalculatorImpl.obj" - -@erase "$(INTDIR)\CalculatorImpl_CalculatorService_Proxy.obj" - -@erase "$(INTDIR)\CalculatorImpl_CalculatorService_Wrapper.obj" - -@erase "$(INTDIR)\CalculatorImpl_divideService_Proxy.obj" - -@erase "$(INTDIR)\DivideImpl.obj" - -@erase "$(INTDIR)\DivideImpl_DivideService_Proxy.obj" - -@erase "$(INTDIR)\DivideImpl_DivideService_Wrapper.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\Calculator.dll" - -@erase "$(OUTDIR)\Calculator.exp" - -@erase "$(OUTDIR)\Calculator.ilk" - -@erase "$(OUTDIR)\Calculator.lib" - -@erase "$(OUTDIR)\Calculator.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATOR_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -MTL=midl.exe -MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Calculator.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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_cpp.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\Calculator.pdb" /debug /machine:I386 /out:"$(OUTDIR)\Calculator.dll" /implib:"$(OUTDIR)\Calculator.lib" /pdbtype:sept /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -LINK32_OBJS= \ - "$(INTDIR)\CalculatorImpl.obj" \ - "$(INTDIR)\CalculatorImpl_CalculatorService_Proxy.obj" \ - "$(INTDIR)\CalculatorImpl_CalculatorService_Wrapper.obj" \ - "$(INTDIR)\CalculatorImpl_divideService_Proxy.obj" \ - "$(INTDIR)\DivideImpl.obj" \ - "$(INTDIR)\DivideImpl_DivideService_Proxy.obj" \ - "$(INTDIR)\DivideImpl_DivideService_Wrapper.obj" - -"$(OUTDIR)\Calculator.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "Client - Win32 Debug" "$(OUTDIR)\Calculator.dll" - call ..\..\..\..\..\Calculator\deploy.bat ..\..\..\..\..\Calculator Debug - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ENDIF - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("Calculator.dep") -!INCLUDE "Calculator.dep" -!ELSE -!MESSAGE Warning: cannot find "Calculator.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "Calculator - Win32 Release" || "$(CFG)" == "Calculator - Win32 Debug" -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl.cpp - -"$(INTDIR)\CalculatorImpl.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_CalculatorService_Proxy.cpp - -"$(INTDIR)\CalculatorImpl_CalculatorService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_CalculatorService_Wrapper.cpp - -"$(INTDIR)\CalculatorImpl_CalculatorService_Wrapper.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\CalculatorImpl_divideService_Proxy.cpp - -"$(INTDIR)\CalculatorImpl_divideService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl.cpp - -"$(INTDIR)\DivideImpl.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl_DivideService_Proxy.cpp - -"$(INTDIR)\DivideImpl_DivideService_Proxy.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator\DivideImpl_DivideService_Wrapper.cpp - -"$(INTDIR)\DivideImpl_DivideService_Wrapper.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!IF "$(CFG)" == "Calculator - Win32 Release" - -"Client - Win32 Release" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Release" - cd "..\Calculator" - -"Client - Win32 ReleaseCLEAN" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Release" RECURSE=1 CLEAN - cd "..\Calculator" - -!ELSEIF "$(CFG)" == "Calculator - Win32 Debug" - -"Client - Win32 Debug" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Debug" - cd "..\Calculator" - -"Client - Win32 DebugCLEAN" : - cd "..\Client" - $(MAKE) /$(MAKEFLAGS) /F .\Client.mak CFG="Client - Win32 Debug" RECURSE=1 CLEAN - cd "..\Calculator" - -!ENDIF - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.dsp deleted file mode 100644 index 2efa614a43..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.dsp +++ /dev/null @@ -1,113 +0,0 @@ -# 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\Calculator\sample.calculator" /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib /nologo /subsystem:console /machine:I386 /out:"Release/calculator_client.exe" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\Calculator\deployclient.bat ..\..\..\..\..\Calculator Release call ..\..\..\..\..\scagen.bat ..\..\..\..\..\Calculator\sample.calculator -# End Special Build Tool - -!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 Ignore_Export_Lib 0 -# 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 /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\..\Calculator\sample.calculator" /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib tuscany_sca.lib tuscany_sca_cpp.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/calculator_client.exe" /pdbtype:sept /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -# SUBTRACT LINK32 /pdb:none -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\Calculator\deployclient.bat ..\..\..\..\..\Calculator Debug call ..\..\..\..\..\scagen.bat ..\..\..\..\..\Calculator\sample.calculator -# End Special Build Tool - -!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=..\..\..\..\..\Calculator\sample.calculator.client\CalculatorClient.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.mak deleted file mode 100644 index cef2af3f3f..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/Client/Client.mak +++ /dev/null @@ -1,214 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on Client.dsp -!IF "$(CFG)" == "" -CFG=Client - Win32 Debug -!MESSAGE No configuration specified. Defaulting to Client - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "Client - Win32 Release" && "$(CFG)" != "Client - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -!IF "$(CFG)" == "Client - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -ALL : "$(OUTDIR)\calculator_client.exe" - - -CLEAN : - -@erase "$(INTDIR)\CalculatorClient.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\calculator_client.exe" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\Calculator\sample.calculator" /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Client.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\calculator_client.pdb" /machine:I386 /out:"$(OUTDIR)\calculator_client.exe" /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -LINK32_OBJS= \ - "$(INTDIR)\CalculatorClient.obj" - -"$(OUTDIR)\calculator_client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\calculator_client.exe" - call ..\..\..\..\..\Calculator\deployclient.bat ..\..\..\..\..\Calculator Release - call ..\..\..\..\..\scagen.bat ..\..\..\..\..\Calculator\sample.calculator - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ELSEIF "$(CFG)" == "Client - Win32 Debug" - -OUTDIR=.\Debug -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -ALL : "$(OUTDIR)\calculator_client.exe" - - -CLEAN : - -@erase "$(INTDIR)\CalculatorClient.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\calculator_client.exe" - -@erase "$(OUTDIR)\calculator_client.ilk" - -@erase "$(OUTDIR)\calculator_client.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\..\Calculator\sample.calculator" /I "$(TUSCANY_SDOCPP)/include" /I "$(TUSCANY_SCACPP)/include" /I "$(TUSCANY_SCACPP)/extensions/cpp/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\Client.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 tuscany_sca_cpp.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\calculator_client.pdb" /debug /machine:I386 /out:"$(OUTDIR)\calculator_client.exe" /pdbtype:sept /libpath:"$(TUSCANY_SDOCPP)/lib" /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SCACPP)/extensions/cpp/lib" -LINK32_OBJS= \ - "$(INTDIR)\CalculatorClient.obj" - -"$(OUTDIR)\calculator_client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\calculator_client.exe" - call ..\..\..\..\..\Calculator\deployclient.bat ..\..\..\..\..\Calculator Debug - call ..\..\..\..\..\scagen.bat ..\..\..\..\..\Calculator\sample.calculator - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ENDIF - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("Client.dep") -!INCLUDE "Client.dep" -!ELSE -!MESSAGE Warning: cannot find "Client.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "Client - Win32 Release" || "$(CFG)" == "Client - Win32 Debug" -SOURCE=..\..\..\..\..\Calculator\sample.calculator.client\CalculatorClient.cpp - -"$(INTDIR)\CalculatorClient.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.dsp b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.dsp deleted file mode 100644 index 0c5c7f825e..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.dsp +++ /dev/null @@ -1,120 +0,0 @@ -# Microsoft Developer Studio Project File - Name="WSClient" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=WSClient - 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 "WSClient.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 "WSClient.mak" CFG="WSClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WSClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "WSClient - 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)" == "WSClient - 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 Ignore_Export_Lib 0 -# 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 /I "$(TUSCANY_SDOCPP)/include" /I "$(AXIS2C_HOME)/include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /machine:I386 /out:"Release/calculator_wsclient.exe" /libpath:"$(TUSCANY_SDOCPP)\lib" /libpath:"$(AXIS2C_HOME)\lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\Calculator\deploywsclient.bat ..\..\..\..\..\Calculator Release -# End Special Build Tool - -!ELSEIF "$(CFG)" == "WSClient - 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 /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SDOCPP)/include" /I "$(AXIS2C_HOME)/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c -# SUBTRACT CPP /YX -# 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 tuscany_sdo.lib axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/calculator_wsclient.exe" /pdbtype:sept /libpath:"$(TUSCANY_SDOCPP)\lib" /libpath:"$(AXIS2C_HOME)\lib" -# Begin Special Build Tool -SOURCE="$(InputPath)" -PostBuild_Cmds=call ..\..\..\..\..\Calculator\deploywsclient.bat ..\..\..\..\..\Calculator Debug -# End Special Build Tool - -!ENDIF - -# Begin Target - -# Name "WSClient - Win32 Release" -# Name "WSClient - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator.wsclient\axis2_Calculator_stub.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator.wsclient\CalculatorWSClient.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\..\..\..\Calculator\sample.calculator.wsclient\axis2_Calculator_stub.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 -# End Target -# End Project diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.mak b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.mak deleted file mode 100644 index 366db95229..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/WSClient/WSClient.mak +++ /dev/null @@ -1,222 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on WSClient.dsp -!IF "$(CFG)" == "" -CFG=WSClient - Win32 Debug -!MESSAGE No configuration specified. Defaulting to WSClient - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "WSClient - Win32 Release" && "$(CFG)" != "WSClient - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "WSClient.mak" CFG="WSClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "WSClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "WSClient - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -!IF "$(CFG)" == "WSClient - Win32 Release" - -OUTDIR=.\Release -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -ALL : "$(OUTDIR)\calculator_wsclient.exe" - - -CLEAN : - -@erase "$(INTDIR)\axis2_Calculator_stub.obj" - -@erase "$(INTDIR)\CalculatorWSClient.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(OUTDIR)\calculator_wsclient.exe" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "$(TUSCANY_SDOCPP)/include" /I "$(AXIS2C_HOME)/include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\WSClient.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\calculator_wsclient.pdb" /machine:I386 /out:"$(OUTDIR)\calculator_wsclient.exe" /libpath:"$(TUSCANY_SDOCPP)\lib" /libpath:"$(AXIS2C_HOME)\lib" -LINK32_OBJS= \ - "$(INTDIR)\axis2_Calculator_stub.obj" \ - "$(INTDIR)\CalculatorWSClient.obj" - -"$(OUTDIR)\calculator_wsclient.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Release -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\calculator_wsclient.exe" - call ..\..\..\..\..\Calculator\deploywsclient.bat ..\..\..\..\..\Calculator Release - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ELSEIF "$(CFG)" == "WSClient - Win32 Debug" - -OUTDIR=.\Debug -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -ALL : "$(OUTDIR)\calculator_wsclient.exe" - - -CLEAN : - -@erase "$(INTDIR)\axis2_Calculator_stub.obj" - -@erase "$(INTDIR)\CalculatorWSClient.obj" - -@erase "$(INTDIR)\vc60.idb" - -@erase "$(INTDIR)\vc60.pdb" - -@erase "$(OUTDIR)\calculator_wsclient.exe" - -@erase "$(OUTDIR)\calculator_wsclient.ilk" - -@erase "$(OUTDIR)\calculator_wsclient.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SDOCPP)/include" /I "$(AXIS2C_HOME)/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c - -.c{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(INTDIR)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\WSClient.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=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 axis2_engine.lib axis2_parser.lib axis2_util.lib axiom.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\calculator_wsclient.pdb" /debug /machine:I386 /out:"$(OUTDIR)\calculator_wsclient.exe" /pdbtype:sept /libpath:"$(TUSCANY_SDOCPP)\lib" /libpath:"$(AXIS2C_HOME)\lib" -LINK32_OBJS= \ - "$(INTDIR)\axis2_Calculator_stub.obj" \ - "$(INTDIR)\CalculatorWSClient.obj" - -"$(OUTDIR)\calculator_wsclient.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -SOURCE="$(InputPath)" -DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep - -ALL : $(DS_POSTBUILD_DEP) - -# Begin Custom Macros -OutDir=.\Debug -# End Custom Macros - -$(DS_POSTBUILD_DEP) : "$(OUTDIR)\calculator_wsclient.exe" - call ..\..\..\..\..\Calculator\deploywsclient.bat ..\..\..\..\..\Calculator Debug - echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)" - -!ENDIF - - -!IF "$(NO_EXTERNAL_DEPS)" != "1" -!IF EXISTS("WSClient.dep") -!INCLUDE "WSClient.dep" -!ELSE -!MESSAGE Warning: cannot find "WSClient.dep" -!ENDIF -!ENDIF - - -!IF "$(CFG)" == "WSClient - Win32 Release" || "$(CFG)" == "WSClient - Win32 Debug" -SOURCE=..\..\..\..\..\Calculator\sample.calculator.wsclient\axis2_Calculator_stub.cpp - -"$(INTDIR)\axis2_Calculator_stub.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=..\..\..\..\..\Calculator\sample.calculator.wsclient\CalculatorWSClient.cpp - -"$(INTDIR)\CalculatorWSClient.obj" : $(SOURCE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - - -!ENDIF - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/build.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/build.cmd deleted file mode 100644 index 0cf0ac8e3e..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/build.cmd +++ /dev/null @@ -1,24 +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 -call vcvars32 -cd Build -nmake -f Build.mak CFG="Build - Win32 Release" -cd .. -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/deploy.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/deploy.cmd deleted file mode 100644 index 6e956aa4e6..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/deploy.cmd +++ /dev/null @@ -1,73 +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 Calculator sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -if . == .%2 ( -echo input directory not specified -goto usage -) -set inpath=%2 -echo %inpath% - - -set deploydir=%TUSCANY_SCACPP%\deploy -set samplesdir=%deploydir%\samples -set calcdir=%samplesdir%\Calculator -set calcdeploydir=%calcdir%\deploy - -if not exist %deploydir% mkdir %deploydir% -if not exist %samplesir% mkdir %samplesir% -if not exist %calcdir% mkdir %calcdir% -if not exist %calcdeploydir% mkdir %calcdeploydir% - -if not exist %destinationPath%\packages mkdir %destinationPath%\packages -if not exist %destinationPath%\packages\CalculatorComposite mkdir %destinationPath%\packages\CalculatorComposite - -copy %sourcePath%\CalculatorComposite\*.componentType %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\*.composite %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\Calculator.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\CalculatorImpl.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\DivideService.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\DivideServiceImpl.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\Calculator.wsdl %destinationPath%\packages\CalculatorComposite -copy %currentPath%\Calculator\%buildMode%\CalculatorComposite.dll %destinationPath%\packages\CalculatorComposite - -if not exist %destinationPath%\bin mkdir %destinationPath%\bin -copy %currentPath%\Client\%buildMode%\Client.exe %destinationPath%\bin -if %buildMode% == Debug ( -copy %currentPath%\Client\%buildMode%\Client.pdb %destinationPath%\bin -) -copy %sourcePath%\Client\runclient.cmd %destinationPath%\bin - - -if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration -if not exist %destinationPath%\configuration\CalculatorSubsystem mkdir %destinationPath%\configuration\CalculatorSubsystem - -copy %sourcePath%\CalculatorSubsystem\*.composite %destinationPath%\configuration\CalculatorSubsystem - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/wsdeploy.cmd b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/wsdeploy.cmd deleted file mode 100644 index 5c4f5fac71..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio6/projects/Calculator/wsdeploy.cmd +++ /dev/null @@ -1,64 +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%..\..\..\..\Calculator - -set buildMode=Release -if .Debug == .%1 ( -set buildMode=Debug -) - - -if . == %2. ( -set destinationPath=%sourcePath%\deploy -) ELSE ( -set destinationPath=%2 -) - - -if not exist %destinationPath%\packages mkdir %destinationPath%\packages -if not exist %destinationPath%\packages\CalculatorComposite mkdir %destinationPath%\packages\CalculatorComposite - -copy %sourcePath%\CalculatorComposite\*.componentType %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\*.composite %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\Calculator.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\CalculatorImpl.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\DivideService.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\DivideServiceImpl.h %destinationPath%\packages\CalculatorComposite -copy %sourcePath%\CalculatorComposite\Calculator.wsdl %destinationPath%\packages\CalculatorComposite -copy %currentPath%\Calculator\%buildMode%\CalculatorComposite.dll %destinationPath%\packages\CalculatorComposite - -if not exist %destinationPath%\bin mkdir %destinationPath%\bin -copy %currentPath%\WSClient\%buildMode%\WSClient.exe %destinationPath%\bin -if %buildMode% == Debug ( -copy %currentPath%\WSClient\%buildMode%\WSClient.pdb %destinationPath%\bin -) -copy %sourcePath%\WSClient\runwsclient.cmd %destinationPath%\bin - - -if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration -if not exist %destinationPath%\configuration\CalculatorSubsystem mkdir %destinationPath%\configuration\CalculatorSubsystem - -copy %sourcePath%\CalculatorSubsystem\*.composite %destinationPath%\configuration\CalculatorSubsystem - - -endlocal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj deleted file mode 100644 index bf9e9aa352..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj deleted file mode 100644 index dbeb962b36..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/BigBank.sln b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/BigBank.sln deleted file mode 100644 index 26a497d219..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/BigBank.sln +++ /dev/null @@ -1,37 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AccountClient", "AccountClient\AccountClient.vcproj", "{297C9F3A-EDB1-4EA1-86ED-473B0863B996}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Accounts", "Accounts\Accounts.vcproj", "{87372DC7-582B-46C6-AA0F-960A47972503}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WSAccountClient", "WSAccountClient\WSAccountClient.vcproj", "{E7F4DDEC-6592-434B-B5D6-4E538298C898}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {297C9F3A-EDB1-4EA1-86ED-473B0863B996}.Debug.ActiveCfg = Debug|Win32 - {297C9F3A-EDB1-4EA1-86ED-473B0863B996}.Debug.Build.0 = Debug|Win32 - {297C9F3A-EDB1-4EA1-86ED-473B0863B996}.Release.ActiveCfg = Release|Win32 - {297C9F3A-EDB1-4EA1-86ED-473B0863B996}.Release.Build.0 = Release|Win32 - {87372DC7-582B-46C6-AA0F-960A47972503}.Debug.ActiveCfg = Debug|Win32 - {87372DC7-582B-46C6-AA0F-960A47972503}.Debug.Build.0 = Debug|Win32 - {87372DC7-582B-46C6-AA0F-960A47972503}.Release.ActiveCfg = Release|Win32 - {87372DC7-582B-46C6-AA0F-960A47972503}.Release.Build.0 = Release|Win32 - {E7F4DDEC-6592-434B-B5D6-4E538298C898}.Debug.ActiveCfg = Debug|Win32 - {E7F4DDEC-6592-434B-B5D6-4E538298C898}.Debug.Build.0 = Debug|Win32 - {E7F4DDEC-6592-434B-B5D6-4E538298C898}.Release.ActiveCfg = Release|Win32 - {E7F4DDEC-6592-434B-B5D6-4E538298C898}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj deleted file mode 100644 index ad6e7bfa89..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.sln b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.sln deleted file mode 100644 index 271c1ae327..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.sln +++ /dev/null @@ -1,39 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Calculator", "Calculator\Calculator.vcproj", "{B1C1917A-4423-456D-9F68-3C600C885A1F}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Client", "Client\Client.vcproj", "{CA2CB545-D0E2-416C-BE93-90BC4DD82B90}" - ProjectSection(ProjectDependencies) = postProject - {B1C1917A-4423-456D-9F68-3C600C885A1F} = {B1C1917A-4423-456D-9F68-3C600C885A1F} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WSClient", "WSClient\WSClient.vcproj", "{3CDD5BC2-9722-4F7D-8B0E-1A49D34E7A17}" - ProjectSection(ProjectDependencies) = postProject - {B1C1917A-4423-456D-9F68-3C600C885A1F} = {B1C1917A-4423-456D-9F68-3C600C885A1F} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {B1C1917A-4423-456D-9F68-3C600C885A1F}.Debug.ActiveCfg = Debug|Win32 - {B1C1917A-4423-456D-9F68-3C600C885A1F}.Debug.Build.0 = Debug|Win32 - {B1C1917A-4423-456D-9F68-3C600C885A1F}.Release.ActiveCfg = Release|Win32 - {B1C1917A-4423-456D-9F68-3C600C885A1F}.Release.Build.0 = Release|Win32 - {CA2CB545-D0E2-416C-BE93-90BC4DD82B90}.Debug.ActiveCfg = Debug|Win32 - {CA2CB545-D0E2-416C-BE93-90BC4DD82B90}.Debug.Build.0 = Debug|Win32 - {CA2CB545-D0E2-416C-BE93-90BC4DD82B90}.Release.ActiveCfg = Release|Win32 - {CA2CB545-D0E2-416C-BE93-90BC4DD82B90}.Release.Build.0 = Release|Win32 - {3CDD5BC2-9722-4F7D-8B0E-1A49D34E7A17}.Debug.ActiveCfg = Debug|Win32 - {3CDD5BC2-9722-4F7D-8B0E-1A49D34E7A17}.Debug.Build.0 = Debug|Win32 - {3CDD5BC2-9722-4F7D-8B0E-1A49D34E7A17}.Release.ActiveCfg = Release|Win32 - {3CDD5BC2-9722-4F7D-8B0E-1A49D34E7A17}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.suo b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.suo deleted file mode 100644 index 99ec75542f..0000000000 Binary files a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator.suo and /dev/null differ diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator/Calculator.vcproj b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator/Calculator.vcproj deleted file mode 100644 index a2b02ca4d9..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Calculator/Calculator.vcproj +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Client/Client.vcproj b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Client/Client.vcproj deleted file mode 100644 index a53a3eccf3..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/Client/Client.vcproj +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/WSClient/WSClient.vcproj b/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/WSClient/WSClient.vcproj deleted file mode 100644 index 8427616332..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/ides/devstudio7/projects/Calculator/WSClient/WSClient.vcproj +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tags/cpp-1.0-incubating-M2-final/sca/samples/scagen.bat b/tags/cpp-1.0-incubating-M2-final/sca/samples/scagen.bat deleted file mode 100644 index a717341086..0000000000 --- a/tags/cpp-1.0-incubating-M2-final/sca/samples/scagen.bat +++ /dev/null @@ -1,37 +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 Calculator sample. - -setlocal - -if . == .%1 ( -echo source path not specified -goto usage -) -set srcdir=%1 - -%TUSCANY_SCACPP%\bin\scagen.cmd -dir %srcdir% -output %srcdir% -verbose - -goto end -:usage -echo Usage: scagen -:end - -endlocal -- cgit v1.2.3