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/14 08:04:49 UTC
svn commit: r547139 - in /incubator/tuscany/java/sca/samples:
implementation-crud-client/ implementation-crud/ implementation-crud/README
implementation-crud/build.xml implementation-crud/pom.xml
Author: jsdelfino
Date: Wed Jun 13 23:04:48 2007
New Revision: 547139
URL: http://svn.apache.org/viewvc?view=rev&rev=547139
Log:
Renamed implementation-crud-client to implementation-crud.
Added:
incubator/tuscany/java/sca/samples/implementation-crud/
- copied from r546644, incubator/tuscany/java/sca/samples/implementation-crud-client/
Removed:
incubator/tuscany/java/sca/samples/implementation-crud-client/
Modified:
incubator/tuscany/java/sca/samples/implementation-crud/README
incubator/tuscany/java/sca/samples/implementation-crud/build.xml
incubator/tuscany/java/sca/samples/implementation-crud/pom.xml
Modified: incubator/tuscany/java/sca/samples/implementation-crud/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud/README?view=diff&rev=547139&r1=546644&r2=547139
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud/README (original)
+++ incubator/tuscany/java/sca/samples/implementation-crud/README Wed Jun 13 23:04:48 2007
@@ -1,7 +1,7 @@
Implementation CRUD Sample Client
=================================
This sample demonstrates how to use the new implementation extension,
-implementation-crud.
+implementation-crud-extension.
The README in the samples directory (the directory above this) provides
general instructions about building and running samples. Take a look there
@@ -14,27 +14,28 @@
OR if you don't have ant, on Windows do
-java -cp ..\..\lib\tuscany-sca-manifest.jar;..\implementation-crud\target\sample-implementation-crud.jar;target\sample-implementation-crud-client.jar crud.client.CRUDClient
+java -cp ..\..\lib\tuscany-sca-manifest.jar;..\implementation-crud-extension\target\sample-implementation-crud-extension.jar;target\sample-implementation-crud.jar crud.client.CRUDClient
and on *nix do
-java -cp ../../lib/tuscany-sca-manifest.jar:../implementation-crud/target/sample-implementation-crud.jar:target/sample-implementation-crud-client.jar crud.client.CRUDClient
+java -cp ../../lib/tuscany-sca-manifest.jar:../implementation-crud-extension/target/sample-implementation-crud-extension.jar:target/sample-implementation-crud.jar crud.client.CRUDClient
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-implementation-crud.jar - the new crud implementation extension
-sample-implementation-crud-client.jar - the application that uses the crud
- implementation
+tuscany-sca-manifest.jar - all of the standard Tuscany SCA
+ runtime and extension classes
+sample-implementation-crud-extension.jar - the new crud implementation
+ extension
+sample-implementation-crud.jar - the application that uses the crud
+ implementation
Sample Overview
---------------
This sample contains a client application for a CRUD implementation type that
shows how to create new implementation types. See the README for the
-mplementation-crud sample for details of this implementation type.
+mplementation-crud-extension sample for details of this implementation type.
-implementation-crud-client/
+implementation-crud/
src/
main/
java/
@@ -61,7 +62,7 @@
With the binary distribution the sample can be built and run using Ant as
follows
-cd implementation-crud-client
+cd implementation-crud
ant compile
ant run
@@ -86,7 +87,7 @@
With either the binary or source distributions the sample can be built and
run using Maven as follows.
-cd implementation-crud-client
+cd implementation-crud
mvn
You should see the following output from the test phase.
Modified: incubator/tuscany/java/sca/samples/implementation-crud/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud/build.xml?view=diff&rev=547139&r1=546644&r2=547139
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud/build.xml (original)
+++ incubator/tuscany/java/sca/samples/implementation-crud/build.xml Wed Jun 13 23:04:48 2007
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
-->
-<project name="implementation-crud-client" default="compile">
+<project name="implementation-crud" default="compile">
<property name="test.class" value="crud.client.CRUDClient" />
- <property name="test.jar" value="sample-implementation-crud-client.jar" />
+ <property name="test.jar" value="sample-implementation-crud.jar" />
<target name="init">
<mkdir dir="target/classes"/>
@@ -31,7 +31,7 @@
source="1.5"
target="1.5">
<classpath>
- <pathelement location="../implementation-crud/target/sample-implementation-crud.jar"/>
+ <pathelement location="../implementation-crud-extension/target/sample-implementation-crud-extension.jar"/>
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</javac>
@@ -50,7 +50,7 @@
fork="true">
<classpath>
<pathelement path="target/classes"/>
- <pathelement location="../implementation-crud/target/sample-implementation-crud.jar"/>
+ <pathelement location="../implementation-crud-extension/target/sample-implementation-crud-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="../implementation-crud/target/sample-implementation-crud.jar"/>
+ <pathelement location="../implementation-crud-extension/target/sample-implementation-crud-extension.jar"/>
<pathelement location="../../lib/tuscany-sca-manifest.jar"/>
</classpath>
</java>
Modified: incubator/tuscany/java/sca/samples/implementation-crud/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud/pom.xml?view=diff&rev=547139&r1=546644&r2=547139
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/implementation-crud/pom.xml Wed Jun 13 23:04:48 2007
@@ -25,7 +25,7 @@
<version>1.0-incubating-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>sample-implementation-crud-client</artifactId>
+ <artifactId>sample-implementation-crud</artifactId>
<name>Apache Tuscany CRUD Implementation Extension Sample Client</name>
<repositories>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>sample-implementation-crud</artifactId>
+ <artifactId>sample-implementation-crud-extension</artifactId>
<version>1.0-incubating-SNAPSHOT</version>
</dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org