You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/06/13 06:26:45 UTC
svn commit: r546733 - in /incubator/tuscany/java/sca/samples:
binding-echo-appl/ binding-echo/ binding-echo/README binding-echo/build.xml
binding-echo/pom.xml pom.xml
Author: jsdelfino
Date: Tue Jun 12 21:26:43 2007
New Revision: 546733
URL: http://svn.apache.org/viewvc?view=rev&rev=546733
Log:
Cleaning up extension samples. Renamed binding-echo-appl to binding-echo.
Added:
incubator/tuscany/java/sca/samples/binding-echo/
- copied from r546644, incubator/tuscany/java/sca/samples/binding-echo-appl/
Removed:
incubator/tuscany/java/sca/samples/binding-echo-appl/
Modified:
incubator/tuscany/java/sca/samples/binding-echo/README
incubator/tuscany/java/sca/samples/binding-echo/build.xml
incubator/tuscany/java/sca/samples/binding-echo/pom.xml
incubator/tuscany/java/sca/samples/pom.xml
Modified: incubator/tuscany/java/sca/samples/binding-echo/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/README?view=diff&rev=546733&r1=546644&r2=546733
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/README (original)
+++ incubator/tuscany/java/sca/samples/binding-echo/README Tue Jun 12 21:26:43 2007
@@ -1,7 +1,7 @@
Binding Echo Sample Application
===============================
This sample demonstrates how to use the new binding extension
-binding-echo.
+binding-echo-extension.
The README in the samples directory (the directory above this) provides
general instructions about building and running samples. Take a look there
@@ -14,18 +14,18 @@
OR if you don't have ant, on Windows do
-java -cp ..\..\lib\tuscany-sca-manifest.jar;..\binding-echo\target\sample-binding-echo.jar;target\sample-binding-echo-appl.jar echo.client.EchoBindingClient
+java -cp ..\..\lib\tuscany-sca-manifest.jar;..\binding-echo-extension\target\sample-binding-echo-extension.jar;target\sample-binding-echo.jar echo.client.EchoBindingClient
and on *nix do
-java -cp ../../lib/tuscany-sca-manifest.jar:../binding-echo/target/sample-binding-echo.jar:target/sample-binding-echo-appl.jar echo.client.EchoBindingClient
+java -cp ../../lib/tuscany-sca-manifest.jar:../binding-echo-extension/target/sample-binding-echo-extension.jar:target/sample-binding-echo.jar echo.client.EchoBindingClient
This looks like a long command. The three things we add to the classpath are
tuscany-sca-manifest.jar - all of the standard Tuscany SCA runtime and
extension classes
-sample-binding-echo.jar - the new echo binding extension implementation
-sample-binding-echo-appl - the application that uses the echo binding
+sample-binding-echo-extension.jar - the new echo binding extension implementation
+sample-binding-echo - the application that uses the echo binding
Sample Overview
@@ -33,7 +33,7 @@
This sample contains an application (client and server code) that uses
an SCA binding that simply echoes back any messages that are sent to it.
-binding-echo-appl/
+binding-echo/
src/
main/
java/
@@ -64,7 +64,7 @@
With the binary distribution the sample can be built and run using Ant as
follows.
-cd binding-echo-appl
+cd binding-echo
ant compile
ant run
@@ -82,7 +82,7 @@
With either the binary or source distributions the sample can be built and
run using Maven as follows.
-cd binding-echo-appl
+cd binding-echo
mvn
You should see the following output from the test phase.
Modified: incubator/tuscany/java/sca/samples/binding-echo/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/build.xml?view=diff&rev=546733&r1=546644&r2=546733
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/build.xml (original)
+++ incubator/tuscany/java/sca/samples/binding-echo/build.xml Tue Jun 12 21:26:43 2007
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
-->
-<project name="binding-echo-appl" default="compile">
+<project name="binding-echo" default="compile">
<property name="test.class" value="echo.client.EchoBindingClient" />
- <property name="test.jar" value="sample-binding-echo-appl.jar" />
+ <property name="test.jar" value="sample-binding-echo.jar" />
<target name="init">
<mkdir dir="target/classes"/>
@@ -31,7 +31,7 @@
source="1.5"
target="1.5">
<classpath>
- <pathelement location="../binding-echo/target/sample-binding-echo.jar"/>
+ <pathelement location="../binding-echo-extension/target/sample-binding-echo-extension.jar"/>
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</javac>
@@ -50,7 +50,7 @@
fork="true">
<classpath>
<pathelement path="target/classes"/>
- <pathelement location="../binding-echo/target/sample-binding-echo.jar"/>
+ <pathelement location="../binding-echo-extension/target/sample-binding-echo-extension.jar"/>
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</java>
@@ -61,7 +61,7 @@
fork="true">
<classpath>
<pathelement location="target/${test.jar}"/>
- <pathelement location="../binding-echo/target/sample-binding-echo.jar"/>
+ <pathelement location="../binding-echo-extension/target/sample-binding-echo-extension.jar"/>
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</java>
Modified: incubator/tuscany/java/sca/samples/binding-echo/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/pom.xml?view=diff&rev=546733&r1=546644&r2=546733
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/binding-echo/pom.xml Tue Jun 12 21:26:43 2007
@@ -25,7 +25,7 @@
<version>1.0-incubating-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>sample-binding-echo-appl</artifactId>
+ <artifactId>sample-binding-echo</artifactId>
<name>Apache Tuscany Echo Binding Sample Application</name>
<repositories>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>sample-binding-echo</artifactId>
+ <artifactId>sample-binding-echo-extension</artifactId>
<version>1.0-incubating-SNAPSHOT</version>
</dependency>
Modified: incubator/tuscany/java/sca/samples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/pom.xml?view=diff&rev=546733&r1=546732&r2=546733
==============================================================================
--- incubator/tuscany/java/sca/samples/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/pom.xml Tue Jun 12 21:26:43 2007
@@ -37,7 +37,7 @@
</activation>
<modules>
<module>binding-echo</module>
- <module>binding-echo-appl</module>
+ <module>binding-echo-extension</module>
<module>calculator</module>
<module>calculator-rmi-reference</module>
<module>calculator-rmi-service</module>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org