You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ra...@apache.org on 2008/12/09 08:26:36 UTC

svn commit: r724630 - in /tuscany/branches/sca-java-1.x/samples: binding-notification-broker/README binding-notification-consumer/README binding-notification-producer/README

Author: ramkumar
Date: Mon Dec  8 23:26:36 2008
New Revision: 724630

URL: http://svn.apache.org/viewvc?rev=724630&view=rev
Log:
Fixes for TUSCANY-2730

Modified:
    tuscany/branches/sca-java-1.x/samples/binding-notification-broker/README
    tuscany/branches/sca-java-1.x/samples/binding-notification-consumer/README
    tuscany/branches/sca-java-1.x/samples/binding-notification-producer/README

Modified: tuscany/branches/sca-java-1.x/samples/binding-notification-broker/README
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/samples/binding-notification-broker/README?rev=724630&r1=724629&r2=724630&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/samples/binding-notification-broker/README (original)
+++ tuscany/branches/sca-java-1.x/samples/binding-notification-broker/README Mon Dec  8 23:26:36 2008
@@ -26,34 +26,6 @@
 component's <implementation.notification/>. This allows messages sent and received
 via <binding.notification/> to be transported as literal xml over http.
 
-Building And Running The Sample Using Ant
------------------------------------------
-With the binary distribution the sample can be built and run using Ant as 
-follows
-
-cd binding-notification-broker
-ant compile
-ant run
-
-You should see the following output from the run target.
-
-run:
-     [java] Sep 14, 2007 11:14:24 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
-     [java] Sep 14, 2007 11:14:24 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/consumer/trafficAdvisory
-     [java] Sep 14, 2007 11:14:24 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/producer/trafficAdvisory
-     
-Building And Running The Sample Using Maven 
--------------------------------------------
-
-With either the binary or source distributions the sample can be built and run 
-using Maven as follows. 
-
-cd binding-notification-broker
-mvn
-
 Sample Usage
 ------------
 
@@ -109,4 +81,32 @@
                                                      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        
+  pom.xml                                          - the Maven build file 
+
+Building And Running The Sample Using Ant
+-----------------------------------------
+With the binary distribution the sample can be built and run using Ant as 
+follows
+
+cd binding-notification-broker
+ant compile
+ant run
+
+You should see the following output from the run target.
+
+run:
+     [java] Sep 14, 2007 11:14:24 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
+     [java] Sep 14, 2007 11:14:24 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/consumer/trafficAdvisory
+     [java] Sep 14, 2007 11:14:24 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/producer/trafficAdvisory
+     
+Building And Running The Sample Using Maven 
+-------------------------------------------
+
+With either the binary or source distributions the sample can be built and run 
+using Maven as follows. 
+
+cd binding-notification-broker
+mvn

Modified: tuscany/branches/sca-java-1.x/samples/binding-notification-consumer/README
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/samples/binding-notification-consumer/README?rev=724630&r1=724629&r2=724630&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/samples/binding-notification-consumer/README (original)
+++ tuscany/branches/sca-java-1.x/samples/binding-notification-consumer/README Mon Dec  8 23:26:36 2008
@@ -26,31 +26,6 @@
 component's <implementation.notification/>. This allows messages sent and received
 via <binding.notification/> to be transported as literal xml over http.
 
-Building And Running The Sample Using Ant
------------------------------------------
-With the binary distribution the sample can be built and run using Ant as 
-follows
-
-cd binding-notification-consumer
-ant compile
-ant run
-
-You should see the following output from the run target.
-
-run:
-     [java] Sep 14, 2007 10:56:29 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
-     [java] Sep 14, 2007 10:56:29 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/consumer/trafficAdvisory
-     
-Building And Running The Sample Using Maven 
--------------------------------------------
-With either the binary or source distributions the sample can be built and run 
-using Maven as follows. 
-
-cd binding-notification-consumer
-mvn
-
 Sample Usage
 ------------
 
@@ -107,3 +82,29 @@
   binding-notification-consumer.png                - a pictorial representation of the sample .composite file
   build.xml                       		   - the Ant build file
   pom.xml                                          - the Maven build file        
+
+Building And Running The Sample Using Ant
+-----------------------------------------
+With the binary distribution the sample can be built and run using Ant as 
+follows
+
+cd binding-notification-consumer
+ant compile
+ant run
+
+You should see the following output from the run target.
+
+run:
+     [java] Sep 14, 2007 10:56:29 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
+     [java] Sep 14, 2007 10:56:29 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/consumer/trafficAdvisory
+     
+Building And Running The Sample Using Maven 
+-------------------------------------------
+With either the binary or source distributions the sample can be built and run 
+using Maven as follows. 
+
+cd binding-notification-consumer
+mvn
+

Modified: tuscany/branches/sca-java-1.x/samples/binding-notification-producer/README
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/samples/binding-notification-producer/README?rev=724630&r1=724629&r2=724630&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/samples/binding-notification-producer/README (original)
+++ tuscany/branches/sca-java-1.x/samples/binding-notification-producer/README Mon Dec  8 23:26:36 2008
@@ -26,46 +26,6 @@
 component's <implementation.notification/>. This allows messages sent and received
 via <binding.notification/> to be transported as literal xml over http.
 
-Building And Running The Sample Using Ant
------------------------------------------
-With the binary distribution the sample can be built and run using Ant as 
-follows
-
-cd binding-notification-producer
-ant compile
-ant run
-
-You should see the following output from the run target.
-
-run:
-     [java] Sep 14, 2007 10:31:45 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
-     [java] Sep 14, 2007 10:31:45 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
-     [java] INFO: Added Servlet mapping: http://localhost:8083/producer/trafficAdvisory
-     
-Building And Running The Sample Using Maven 
--------------------------------------------
-With either the binary or source distributions the sample can be built and run 
-using Maven as follows. 
-
-cd binding-notification-producer
-mvn
-
-You should see the following output from the test phase.
-
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running notification.producer.TrafficAdvisoryTestCase
-Only instantiating and closing domain ...
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 sec
-
-Results :
-
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-This shows that the Junit test cases have run successfully. 
-
 Sample Usage
 ------------
 
@@ -131,3 +91,44 @@
   binding-notification-producer.png                - a pictorial representation of the sample .composite file
   build.xml                       		   - the Ant build file
   pom.xml                                          - the Maven build file        
+
+Building And Running The Sample Using Ant
+-----------------------------------------
+With the binary distribution the sample can be built and run using Ant as 
+follows
+
+cd binding-notification-producer
+ant compile
+ant run
+
+You should see the following output from the run target.
+
+run:
+     [java] Sep 14, 2007 10:31:45 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
+     [java] Sep 14, 2007 10:31:45 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
+     [java] INFO: Added Servlet mapping: http://localhost:8083/producer/trafficAdvisory
+     
+Building And Running The Sample Using Maven 
+-------------------------------------------
+With either the binary or source distributions the sample can be built and run 
+using Maven as follows. 
+
+cd binding-notification-producer
+mvn
+
+You should see the following output from the test phase.
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+Running notification.producer.TrafficAdvisoryTestCase
+Only instantiating and closing domain ...
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 sec
+
+Results :
+
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
+
+This shows that the Junit test cases have run successfully. 
+