summaryrefslogtreecommitdiffstats
path: root/branches
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-11-04 06:52:10 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-11-04 06:52:10 +0000
commitaf5c8359de42231828080c81e43d8249d39a70b6 (patch)
tree241a912a6cf7bd45014de0d566c29474bd8f2b9e /branches
parent8ef6e09895bcf583349597ff6757e974ec13e2ec (diff)
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
Diffstat (limited to 'branches')
-rw-r--r--branches/sca-java-1.3.3/samples/binding-notification-broker/README14
-rw-r--r--branches/sca-java-1.3.3/samples/binding-notification-broker/pom.xml1
-rw-r--r--branches/sca-java-1.3.3/samples/binding-notification-consumer/README19
-rw-r--r--branches/sca-java-1.3.3/samples/binding-notification-consumer/pom.xml1
-rw-r--r--branches/sca-java-1.3.3/samples/binding-notification-producer/README14
-rw-r--r--branches/sca-java-1.3.3/samples/binding-notification-producer/pom.xml1
-rw-r--r--branches/sca-java-1.3.3/samples/implementation-notification/README6
-rw-r--r--branches/sca-java-1.3.3/samples/implementation-notification/pom.xml1
8 files changed, 38 insertions, 19 deletions
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=<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 @@ binding-notification-broker/
<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
diff --git a/branches/sca-java-1.3.3/samples/binding-notification-broker/pom.xml b/branches/sca-java-1.3.3/samples/binding-notification-broker/pom.xml
index e52854d592..4089cabc47 100644
--- a/branches/sca-java-1.3.3/samples/binding-notification-broker/pom.xml
+++ b/branches/sca-java-1.3.3/samples/binding-notification-broker/pom.xml
@@ -82,6 +82,7 @@
</dependencies>
<build>
+ <finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/branches/sca-java-1.3.3/samples/binding-notification-consumer/README b/branches/sca-java-1.3.3/samples/binding-notification-consumer/README
index 0fdfa8461a..b54b445670 100644
--- a/branches/sca-java-1.3.3/samples/binding-notification-consumer/README
+++ b/branches/sca-java-1.3.3/samples/binding-notification-consumer/README
@@ -54,15 +54,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=<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 @@ binding-notification-consumer/
<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
diff --git a/branches/sca-java-1.3.3/samples/binding-notification-consumer/pom.xml b/branches/sca-java-1.3.3/samples/binding-notification-consumer/pom.xml
index f45e354051..109fd94c5e 100644
--- a/branches/sca-java-1.3.3/samples/binding-notification-consumer/pom.xml
+++ b/branches/sca-java-1.3.3/samples/binding-notification-consumer/pom.xml
@@ -88,6 +88,7 @@
</dependencies>
<build>
+ <finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/branches/sca-java-1.3.3/samples/binding-notification-producer/README b/branches/sca-java-1.3.3/samples/binding-notification-producer/README
index 58611f64bd..c5f284d4c5 100644
--- a/branches/sca-java-1.3.3/samples/binding-notification-producer/README
+++ b/branches/sca-java-1.3.3/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/branches/sca-java-1.3.3/samples/binding-notification-producer/pom.xml b/branches/sca-java-1.3.3/samples/binding-notification-producer/pom.xml
index 2d0d8d0e66..5642a9b4e4 100644
--- a/branches/sca-java-1.3.3/samples/binding-notification-producer/pom.xml
+++ b/branches/sca-java-1.3.3/samples/binding-notification-producer/pom.xml
@@ -88,6 +88,7 @@
</dependencies>
<build>
+ <finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/branches/sca-java-1.3.3/samples/implementation-notification/README b/branches/sca-java-1.3.3/samples/implementation-notification/README
index 5b59358080..7adfa4e5dc 100644
--- a/branches/sca-java-1.3.3/samples/implementation-notification/README
+++ b/branches/sca-java-1.3.3/samples/implementation-notification/README
@@ -12,10 +12,14 @@ to this sample directory and do:
ant run
-OR if you don't have ant, on Windows do
+OR if you don't have ant, on Windows, use following command:
java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-implementation-notification.jar notification.TrafficAdvisoryClient
+on *nix, use following command:
+
+java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-implementation-notification.jar notification.TrafficAdvisoryClient
+
OR you can also use Maven to test:
mvn test
diff --git a/branches/sca-java-1.3.3/samples/implementation-notification/pom.xml b/branches/sca-java-1.3.3/samples/implementation-notification/pom.xml
index df9399617d..c92ce083ff 100644
--- a/branches/sca-java-1.3.3/samples/implementation-notification/pom.xml
+++ b/branches/sca-java-1.3.3/samples/implementation-notification/pom.xml
@@ -60,6 +60,7 @@
</dependencies>
<build>
+ <finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>