summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-05-01 08:18:46 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-05-01 08:18:46 +0000
commit68ab6878ea155cc84926e84d20615dadfe14603c (patch)
tree7724c9046cab59302c0bc2828f8b7b0e293aba32 /sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README
parenta990c66f7d93a51384f7920d6c9b19690c944b32 (diff)
Update sample to use a node xml file so that it now works the same way as the other samples with a simple mvn tuscany:run
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1332568 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README21
1 files changed, 4 insertions, 17 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README b/sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README
index a5d5272d8f..5bb69df953 100644
--- a/sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README
+++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-withdeps/README
@@ -6,26 +6,13 @@ This sample extends the helloworld sample to show how to use ZIP format contribu
The changes to the helloworld sample are:
- update sample.HelloworldImpl class is updated to use the Apache Commons Lang 3.0 WordUtils utility
- the Maven build is updated to use the Assembly plugin to create a ZIP archive of the contrubution which includes the dependency jars
+- use a node.xml file to configure the contributions used by the Tuscany maven plugin
-Presently the Tuscany Shell does not work "as is" to run this sample with "mvn tuscany:run". Instead you need to do the following in the helloworld-withdeps directory:
+As with all the getting-started samples you can run this sample with:
-- build the ZIP contribution
-
- mvn clean install
+ mvn tuscany:run
-- start the Tuscany Shell
-
- mvn tuscany:shell
-
-- install the sample contribution
-
- install target\helloworld-withdeps-2.0-SNAPSHOT.zip
-
-- start the SCA composite
-
- start helloworld-withdeps META-INF/helloworld.composite
-
-And then as with the original helloworld sample you may test the service by using the Shell "invoke" command:
+And then as with the original helloworld sample you may explore the state of the domain with Shell commands and test the service by using the Shell "invoke" command:
invoke HelloworldComponent sayHello yourName