From d6e546076d9aee034c62414a2357f90b7aa2a5e4 Mon Sep 17 00:00:00 2001 From: ramkumar Date: Tue, 9 Dec 2008 05:58:46 +0000 Subject: Fixes for TUSCANY-2730 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@724617 13f79535-47bb-0310-9956-ffa450edef68 --- .../samples/binding-notification-consumer/README | 51 +++++++++++----------- 1 file changed, 26 insertions(+), 25 deletions(-) (limited to 'branches/sca-java-1.4/samples/binding-notification-consumer/README') diff --git a/branches/sca-java-1.4/samples/binding-notification-consumer/README b/branches/sca-java-1.4/samples/binding-notification-consumer/README index b54b445670..62ef1d0126 100644 --- a/branches/sca-java-1.4/samples/binding-notification-consumer/README +++ b/branches/sca-java-1.4/samples/binding-notification-consumer/README @@ -26,31 +26,6 @@ This sample also illustrates the use of a wsdl interface in the notification component's . This allows messages sent and received via 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/ 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 + -- cgit v1.2.3