summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/binding-notification-producer
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-03 12:11:02 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-03 12:11:02 +0000
commitda3b5205524e71572a3f650b63c9e46ce4a05e1f (patch)
tree73e6704a1f35cbf956b0c9dad4b487f62a227966 /java/sca/samples/binding-notification-producer
parent04ba37452662489370c6a740c4442707ee6cce88 (diff)
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
Diffstat (limited to 'java/sca/samples/binding-notification-producer')
-rw-r--r--java/sca/samples/binding-notification-producer/README14
-rw-r--r--java/sca/samples/binding-notification-producer/pom.xml1
2 files changed, 9 insertions, 6 deletions
diff --git a/java/sca/samples/binding-notification-producer/README b/java/sca/samples/binding-notification-producer/README
index 58611f64bd..c5f284d4c5 100644
--- a/java/sca/samples/binding-notification-producer/README
+++ b/java/sca/samples/binding-notification-producer/README
@@ -69,15 +69,15 @@ This shows that the Junit test cases have run successfully.
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=<Directory where the distro was extracted, e.g. \Devt\tuscany-sca-distr\tuscany-sca>
-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=8083 -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-binding-notification-producer.jar notification.producer.TrafficAdvisoryServer
-java -Dnotification.httpPort=8083 -cp "target\sample-binding-notification-producer.jar;%TUSCANY_SCA_MANIFEST_JAR%" notification.producer.TrafficAdvisoryServer
+on *nix, use following command:
+
+java -Dnotification.httpPort=8083 -cp ../../lib/tuscany-sca-manifest.jar:target/sample-binding-notification-producer.jar notification.producer.TrafficAdvisoryServer
this should bring up the following prompt:
@@ -128,4 +128,6 @@ binding-notification-producer/
<implementation.notification/>
TrafficAdvisoryNotification.composite - the main composite including producer and
notification components, and composite reference
+ binding-notification-producer.png - a pictorial representation of the sample .composite file
+ build.xml - the Ant build file
pom.xml - the Maven build file
diff --git a/java/sca/samples/binding-notification-producer/pom.xml b/java/sca/samples/binding-notification-producer/pom.xml
index 81b163fba8..262cb0b8b0 100644
--- a/java/sca/samples/binding-notification-producer/pom.xml
+++ b/java/sca/samples/binding-notification-producer/pom.xml
@@ -88,6 +88,7 @@
</dependencies>
<build>
+ <finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>