summaryrefslogtreecommitdiffstats
path: root/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd
diff options
context:
space:
mode:
authordims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
committerdims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
commitbdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch)
tree38a92061c0793434c4be189f1d70c3458b6bc41d /tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd')
-rw-r--r--tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd14
1 files changed, 14 insertions, 0 deletions
diff --git a/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd b/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd
new file mode 100644
index 0000000000..8aa6f24f65
--- /dev/null
+++ b/tags/cpp-stable-20060304/sca/samples/Calculator/Client/runclient.cmd
@@ -0,0 +1,14 @@
+@echo off
+rem Runs the client after setting the SCA environment variables to use the
+rem CalculatorSubsystem
+setlocal
+set SCA4CPP_SYSTEM_ROOT=%~d0%~p0\..\..\runtime
+
+rem Only need to specify the subsystem (and not the moduleComponent as well) because
+rem there is only one moduleComponent in the subsystem - it is a very simple sample.
+set SCA4CPP_DEFAULT_MODULE=CalculatorSubsystem
+
+rem Run the client
+%~d0%~p0\debug\Client.exe %*
+
+endlocal \ No newline at end of file