From af5c8359de42231828080c81e43d8249d39a70b6 Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 4 Nov 2008 06:52:10 +0000 Subject: Merging changes from TUSCANY-2657 and TUSCANY-2659 from trunk. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@711190 13f79535-47bb-0310-9956-ffa450edef68 --- .../samples/binding-notification-broker/README | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'branches/sca-java-1.3.3/samples/binding-notification-broker/README') diff --git a/branches/sca-java-1.3.3/samples/binding-notification-broker/README b/branches/sca-java-1.3.3/samples/binding-notification-broker/README index e47f12cb20..ebd8bbec30 100644 --- a/branches/sca-java-1.3.3/samples/binding-notification-broker/README +++ b/branches/sca-java-1.3.3/samples/binding-notification-broker/README @@ -57,15 +57,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=8080 -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-binding-notification-broker.jar notification.broker.TrafficAdvisoryServer -java -Dnotification.httpPort=8080 -cp "target\sample-binding-notification-broker.jar;%TUSCANY_SCA_MANIFEST_JAR%" notification.broker.TrafficAdvisoryServer +on *nix, use following command: + +java -Dnotification.httpPort=8080 -cp ../../lib/tuscany-sca-manifest.jar:target/sample-binding-notification-broker.jar notification.broker.TrafficAdvisoryServer this should bring up the following prompt: @@ -107,4 +107,6 @@ binding-notification-broker/ TrafficAdvisoryNotification.composite - the main composite including producer, consumer and notification components, and composite service and reference + binding-notification-broker.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