Author: antelder
Date: Mon Nov  3 04:11:02 2008
New Revision: 710042

URL: http://svn.apache.org/viewvc?rev=710042&view=rev
Log:
TUSCANY-2657: Apply patch from Dhaval Chauhan for Updates for the 
binding-notification-* samples" 

Modified:
    tuscany/java/sca/samples/binding-notification-broker/README
    tuscany/java/sca/samples/binding-notification-broker/pom.xml
    tuscany/java/sca/samples/binding-notification-consumer/README
    tuscany/java/sca/samples/binding-notification-consumer/pom.xml
    tuscany/java/sca/samples/binding-notification-producer/README
    tuscany/java/sca/samples/binding-notification-producer/pom.xml

Modified: tuscany/java/sca/samples/binding-notification-broker/README
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/samples/binding-notification-broker/README?rev=710042&r1=710041&r2=710042&view=diff
==============================================================================
--- tuscany/java/sca/samples/binding-notification-broker/README (original)
+++ tuscany/java/sca/samples/binding-notification-broker/README Mon Nov  3 
04:11:02 2008
@@ -57,15 +57,15 @@
 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=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 @@
                                                      
<implementation.notification/>
         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      
  

Modified: tuscany/java/sca/samples/binding-notification-broker/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/samples/binding-notification-broker/pom.xml?rev=710042&r1=710041&r2=710042&view=diff
==============================================================================
--- tuscany/java/sca/samples/binding-notification-broker/pom.xml (original)
+++ tuscany/java/sca/samples/binding-notification-broker/pom.xml Mon Nov  3 
04:11:02 2008
@@ -82,6 +82,7 @@
     </dependencies>
 
     <build>
+       <finalName>${artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

Modified: tuscany/java/sca/samples/binding-notification-consumer/README
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/samples/binding-notification-consumer/README?rev=710042&r1=710041&r2=710042&view=diff
==============================================================================
--- tuscany/java/sca/samples/binding-notification-consumer/README (original)
+++ tuscany/java/sca/samples/binding-notification-consumer/README Mon Nov  3 
04:11:02 2008
@@ -54,15 +54,15 @@
 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=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 @@
                                                      
<implementation.notification/>
         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      
  

Modified: tuscany/java/sca/samples/binding-notification-consumer/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/samples/binding-notification-consumer/pom.xml?rev=710042&r1=710041&r2=710042&view=diff
==============================================================================
--- tuscany/java/sca/samples/binding-notification-consumer/pom.xml (original)
+++ tuscany/java/sca/samples/binding-notification-consumer/pom.xml Mon Nov  3 
04:11:02 2008
@@ -88,6 +88,7 @@
     </dependencies>
     
     <build>
+       <finalName>${artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

Modified: tuscany/java/sca/samples/binding-notification-producer/README
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/samples/binding-notification-producer/README?rev=710042&r1=710041&r2=710042&view=diff
==============================================================================
--- tuscany/java/sca/samples/binding-notification-producer/README (original)
+++ tuscany/java/sca/samples/binding-notification-producer/README Mon Nov  3 
04:11:02 2008
@@ -69,15 +69,15 @@
 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 @@
                                                      
<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      
  

Modified: tuscany/java/sca/samples/binding-notification-producer/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/samples/binding-notification-producer/pom.xml?rev=710042&r1=710041&r2=710042&view=diff
==============================================================================
--- tuscany/java/sca/samples/binding-notification-producer/pom.xml (original)
+++ tuscany/java/sca/samples/binding-notification-producer/pom.xml Mon Nov  3 
04:11:02 2008
@@ -88,6 +88,7 @@
     </dependencies>
     
     <build>
+       <finalName>${artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>


Reply via email to