From 8192f9af3da0da5fad5f4db1550913527de00837 Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 23 Sep 2008 21:25:31 +0000 Subject: Generating sql database on a different folder to avoid conflicting errors during eclipse project file generation git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@698358 13f79535-47bb-0310-9956-ffa450edef68 --- java/sca/samples/customer-dojo/pom.xml | 6 +++--- java/sca/samples/customer-dojo/src/main/java/launch/Launch.java | 3 ++- .../customer-dojo/src/main/resources/META-INF/persistence.xml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'java/sca/samples/customer-dojo') diff --git a/java/sca/samples/customer-dojo/pom.xml b/java/sca/samples/customer-dojo/pom.xml index 950b580c87..1e4305d9ce 100644 --- a/java/sca/samples/customer-dojo/pom.xml +++ b/java/sca/samples/customer-dojo/pom.xml @@ -103,7 +103,7 @@ org.apache.derby derby - 10.1.2.1 + 10.3.1.4 @@ -214,7 +214,7 @@ org.apache.derby.jdbc.EmbeddedDriver - jdbc:derby:${pom.basedir}/target/classes/customer;create=true + jdbc:derby:${pom.basedir}/target/classes/customer-db;create=true true continue skip @@ -234,7 +234,7 @@ org.apache.derby.jdbc.EmbeddedDriver - jdbc:derby:${pom.basedir}/target/classes/customer;shutdown=true + jdbc:derby:${pom.basedir}/target/classes/customer-db;shutdown=true true diff --git a/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java b/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java index d7f88b8dd4..a51ab605bc 100644 --- a/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java +++ b/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java @@ -25,7 +25,8 @@ public class Launch { public static void main(String[] args) throws Exception { System.out.println("Starting ..."); SCADomain scaDomain = SCADomain.newInstance("customer.composite"); - System.out.println("store.composite ready for big business !!!"); + System.out.println("customer.composite ready for big business !!!"); + System.out.println("url : http://localhost:8080/customer.html"); System.in.read(); System.out.println("Stopping ..."); scaDomain.close(); diff --git a/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml b/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml index 7073c8daf7..5add897279 100644 --- a/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml +++ b/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml @@ -29,7 +29,7 @@ - + -- cgit v1.2.3