From da3b5205524e71572a3f650b63c9e46ce4a05e1f Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 3 Nov 2008 12:11:02 +0000 Subject: TUSCANY-2657: Apply patch from Dhaval Chauhan for Updates for the binding-notification-* samples" git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@710042 13f79535-47bb-0310-9956-ffa450edef68 --- java/sca/samples/binding-notification-consumer/README | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'java/sca/samples/binding-notification-consumer/README') diff --git a/java/sca/samples/binding-notification-consumer/README b/java/sca/samples/binding-notification-consumer/README index 0fdfa8461a..b54b445670 100644 --- a/java/sca/samples/binding-notification-consumer/README +++ b/java/sca/samples/binding-notification-consumer/README @@ -54,15 +54,15 @@ mvn Sample Usage ------------ -This sample is run using the tuscany binary distribution. To run it, first set the -following environment variables: +This sample is run using the tuscany binary distribution. To run it, navigate to this sample's directory and -set TUSCANY_BIN_DISTRO= -set TUSCANY_SCA_MANIFEST_JAR=%TUSCANY_BIN_DISTRO%\lib\tuscany-sca-manifest.jar +on Wondows, use following command: -Then navigate to this sample directory and do: +java -Dnotification.httpPort=8082 -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-binding-notification-consumer.jar notification.consumer.TrafficAdvisoryServer -java -Dnotification.httpPort=8082 -cp "target\sample-binding-notification-consumer.jar;%TUSCANY_SCA_MANIFEST_JAR%" notification.consumer.TrafficAdvisoryServer +on *nix, use following command: + +java -Dnotification.httpPort=8082 -cp ../../lib/tuscany-sca-manifest.jar:target/sample-binding-notification-consumer.jar notification.consumer.TrafficAdvisoryServer this should bring up the following prompt: @@ -99,4 +99,11 @@ binding-notification-consumer/ TrafficAdvisoryNotification.composite - the main composite including producer and notification components, and composite reference + test/ + java/ + notification.producer/ + TrafficAdvisoryTestCase.java - JUnit test case + resources/ + binding-notification-consumer.png - a pictorial representation of the sample .composite file + build.xml - the Ant build file pom.xml - the Maven build file -- cgit v1.2.3