Author: jsdelfino
Date: Wed Sep 20 14:53:48 2006
New Revision: 448358

URL: http://svn.apache.org/viewvc?view=rev&rev=448358
Log:
Minor cleanup of the samples. Remove unnecessary services.xml files and added 
scripts to start the Axis2 HTTP server.

Added:
    incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.bat
    incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh   
(with props)
    
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.bat
    
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh   
(with props)
    
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat
    
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh
   (with props)
    
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat
    
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
   (with props)
Removed:
    incubator/tuscany/cpp/sca/samples/BigBank/bigbank.wsclient/services.xml
    
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator.wsclient/services.xml
    
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator.wsclient/services.xml
    
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator.wsclient/services.xml
Modified:
    incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/Makefile.am
    incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/Makefile.am
    
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/Makefile.am
    
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/Makefile.am

Modified: incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/Makefile.am?view=diff&rev=448358&r1=448357&r2=448358
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/Makefile.am 
(original)
+++ incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/Makefile.am Wed 
Sep 20 14:53:48 2006
@@ -1,5 +1,6 @@
 deploydir=$(prefix)/samples/BigBank/deploy
 compositedir=$(deploydir)/packages/bigbank.account
+prgbindir=$(deploydir)/bin
 
 BUILT_SOURCES = AccountDataServiceImpl_AccountDataService_Proxy.cpp \
 AccountDataServiceImpl_AccountDataService_Wrapper.cpp \
@@ -13,12 +14,14 @@
 
 noinst_HEADERS = *.h
 
+prgbin_SCRIPTS = runwsserver.sh
+
 ${BUILT_SOURCES}: bigbank.account.composite
        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
+EXTRA_DIST = *.composite *.componentType *.wsdl *.xsd runwsserver.sh
 
 libAccount_la_SOURCES = \
 AccountDataServiceImpl_AccountDataService_Proxy.cpp \

Added: incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.bat
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.bat?view=auto&rev=448358
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.bat 
(added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.bat 
Wed Sep 20 14:53:48 2006
@@ -0,0 +1,48 @@
[EMAIL PROTECTED] off
+
[EMAIL PROTECTED]  Copyright 2006 The Apache Software Foundation or its 
licensors, as applicable.
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Licensed under the Apache License, Version 2.0 (the 
"License");
[EMAIL PROTECTED]  you may not use this file except in compliance with the 
License.
[EMAIL PROTECTED]  You may obtain a copy of the License at
[EMAIL PROTECTED]
[EMAIL PROTECTED]     http://www.apache.org/licenses/LICENSE-2.0
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Unless required by applicable law or agreed to in writing, 
software
[EMAIL PROTECTED]  distributed under the License is distributed on an "AS IS" 
BASIS,
[EMAIL PROTECTED]  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.
[EMAIL PROTECTED]  See the License for the specific language governing 
permissions and
[EMAIL PROTECTED]  limitations 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

Added: incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh?view=auto&rev=448358
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh 
(added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh 
Wed Sep 20 14:53:48 2006
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+#  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+APFULLDIR=`pwd`
+
+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

Propchange: 
incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sca/samples/BigBank/bigbank.account/runwsserver.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/Makefile.am?view=diff&rev=448358&r1=448357&r2=448358
==============================================================================
--- incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/Makefile.am 
(original)
+++ incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/Makefile.am 
Wed Sep 20 14:53:48 2006
@@ -1,5 +1,6 @@
 deploydir=$(prefix)/samples/Calculator/deploy
 compositedir=$(deploydir)/packages/sample.calculator
+prgbindir=$(deploydir)/bin
 
 BUILT_SOURCES = CalculatorImpl_CalculatorService_Proxy.cpp \
 CalculatorImpl_CalculatorService_Wrapper.cpp \
@@ -12,9 +13,11 @@
 ${BUILT_SOURCES}: sample.calculator.composite
        java -jar $(TUSCANY_SCACPP)/bin/scagen.jar -dir . -output .
 
+prgbin_SCRIPTS = runwsserver.sh
+
 composite_LTLIBRARIES = libCalculator.la
 composite_DATA = *.composite *.componentType *.wsdl
-EXTRA_DIST = *.composite *.componentType *.wsdl
+EXTRA_DIST = *.composite *.componentType *.wsdl runwsserver.sh
 
 libCalculator_la_SOURCES = \
 CalculatorImpl.cpp \

Added: 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.bat
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.bat?view=auto&rev=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.bat 
(added)
+++ 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.bat 
Wed Sep 20 14:53:48 2006
@@ -0,0 +1,46 @@
[EMAIL PROTECTED] off
+
[EMAIL PROTECTED]  Copyright 2006 The Apache Software Foundation or its 
licensors, as applicable.
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Licensed under the Apache License, Version 2.0 (the 
"License");
[EMAIL PROTECTED]  you may not use this file except in compliance with the 
License.
[EMAIL PROTECTED]  You may obtain a copy of the License at
[EMAIL PROTECTED]
[EMAIL PROTECTED]     http://www.apache.org/licenses/LICENSE-2.0
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Unless required by applicable law or agreed to in writing, 
software
[EMAIL PROTECTED]  distributed under the License is distributed on an "AS IS" 
BASIS,
[EMAIL PROTECTED]  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.
[EMAIL PROTECTED]  See the License for the specific language governing 
permissions and
[EMAIL PROTECTED]  limitations 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

Added: 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh?view=auto&rev=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh 
(added)
+++ 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh 
Wed Sep 20 14:53:48 2006
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+#  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+APFULLDIR=`pwd`
+
+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

Propchange: 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sca/samples/Calculator/sample.calculator/runwsserver.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/Makefile.am?view=diff&rev=448358&r1=448357&r2=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/Makefile.am
 (original)
+++ 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/Makefile.am
 Wed Sep 20 14:53:48 2006
@@ -1,6 +1,8 @@
 deploydir=$(prefix)/samples/PythonCalculator/deploy
 compositedir=$(deploydir)/packages/sample.calculator
+prgbindir=$(deploydir)/bin
 
 composite_DATA = *.composite *.componentType *.wsdl *.py
-EXTRA_DIST = *.composite *.componentType *.wsdl *.py
+prgbin_SCRIPTS = runwsserver.sh
+EXTRA_DIST = *.composite *.componentType *.wsdl *.py runwsserver.sh
 

Added: 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat?view=auto&rev=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat
 (added)
+++ 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.bat
 Wed Sep 20 14:53:48 2006
@@ -0,0 +1,47 @@
[EMAIL PROTECTED] off
+
[EMAIL PROTECTED]  Copyright 2006 The Apache Software Foundation or its 
licensors, as applicable.
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Licensed under the Apache License, Version 2.0 (the 
"License");
[EMAIL PROTECTED]  you may not use this file except in compliance with the 
License.
[EMAIL PROTECTED]  You may obtain a copy of the License at
[EMAIL PROTECTED]
[EMAIL PROTECTED]     http://www.apache.org/licenses/LICENSE-2.0
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Unless required by applicable law or agreed to in writing, 
software
[EMAIL PROTECTED]  distributed under the License is distributed on an "AS IS" 
BASIS,
[EMAIL PROTECTED]  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.
[EMAIL PROTECTED]  See the License for the specific language governing 
permissions and
[EMAIL PROTECTED]  limitations 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

Added: 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh?view=auto&rev=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh
 (added)
+++ 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh
 Wed Sep 20 14:53:48 2006
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+#  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+APFULLDIR=`pwd`
+
+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

Propchange: 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sca/samples/PythonCalculator/sample.calculator/runwsserver.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/Makefile.am?view=diff&rev=448358&r1=448357&r2=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/Makefile.am 
(original)
+++ 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/Makefile.am 
Wed Sep 20 14:53:48 2006
@@ -1,5 +1,7 @@
 deploydir=$(prefix)/samples/RubyCalculator/deploy
 compositedir=$(deploydir)/packages/sample.calculator
+prgbindir=$(deploydir)/bin
 
 composite_DATA = *.composite *.wsdl *.rb
-EXTRA_DIST = *.composite *.wsdl *.rb
+prgbin_SCRIPTS = runwsserver.sh
+EXTRA_DIST = *.composite *.wsdl *.rb runwsserver.sh

Added: 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat?view=auto&rev=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat
 (added)
+++ 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.bat
 Wed Sep 20 14:53:48 2006
@@ -0,0 +1,46 @@
[EMAIL PROTECTED] off
+
[EMAIL PROTECTED]  Copyright 2006 The Apache Software Foundation or its 
licensors, as applicable.
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Licensed under the Apache License, Version 2.0 (the 
"License");
[EMAIL PROTECTED]  you may not use this file except in compliance with the 
License.
[EMAIL PROTECTED]  You may obtain a copy of the License at
[EMAIL PROTECTED]
[EMAIL PROTECTED]     http://www.apache.org/licenses/LICENSE-2.0
[EMAIL PROTECTED]
[EMAIL PROTECTED]  Unless required by applicable law or agreed to in writing, 
software
[EMAIL PROTECTED]  distributed under the License is distributed on an "AS IS" 
BASIS,
[EMAIL PROTECTED]  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.
[EMAIL PROTECTED]  See the License for the specific language governing 
permissions and
[EMAIL PROTECTED]  limitations 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

Added: 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh?view=auto&rev=448358
==============================================================================
--- 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
 (added)
+++ 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
 Wed Sep 20 14:53:48 2006
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+#  Copyright 2005 The Apache Software Foundation or its licensors, as 
applicable.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+APFULLDIR=`pwd`
+
+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

Propchange: 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sca/samples/RubyCalculator/sample.calculator/runwsserver.sh
------------------------------------------------------------------------------
    svn:executable = *



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to