You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2007/01/05 21:01:43 UTC
svn commit: r493166 - in /incubator/ode/trunk/bpel-runtime: pom.xml
src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java
Author: mriou
Date: Fri Jan 5 12:01:42 2007
New Revision: 493166
URL: http://svn.apache.org/viewvc?view=rev&rev=493166
Log:
Fixing a couple more things on tests for JPA usage.
Modified:
incubator/ode/trunk/bpel-runtime/pom.xml
incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java
Modified: incubator/ode/trunk/bpel-runtime/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/pom.xml?view=diff&rev=493166&r1=493165&r2=493166
==============================================================================
--- incubator/ode/trunk/bpel-runtime/pom.xml (original)
+++ incubator/ode/trunk/bpel-runtime/pom.xml Fri Jan 5 12:01:42 2007
@@ -139,6 +139,12 @@
<groupId>org.apache.ode</groupId>
<artifactId>ode-dao-jpa-ojpa</artifactId>
<scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <artifactId>ode-dao-jpa</artifactId>
+ <groupId>org.apache.ode</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.openjpa</groupId>
Modified: incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java?view=diff&rev=493166&r1=493165&r2=493166
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java Fri Jan 5 12:01:42 2007
@@ -79,7 +79,7 @@
if (_scheduler == null)
throw new RuntimeException("No scheduler");
//_store = new ProcessStoreImpl(new File("."), _dataSource, _txManager);
- _store = new ProcessStoreImpl();
+ _store = new ProcessStoreImpl(_dataSource);
_server.setScheduler(_scheduler);
_server.setEndpointReferenceContext(createEndpointReferenceContext());
_server.setMessageExchangeContext(createMessageExchangeContext());
@@ -165,7 +165,7 @@
protected DataSource createDataSource() throws Exception {
if (_txManager == null)
throw new RuntimeException("No transaction manager");
- String url = "jdbc:derby:target/test-classes/derby-db/data";
+ String url = "jdbc:derby:/home/dusty/Dev/Projects/ode/bpel-runtime/target/test-classes/derby-db/data";
_minervaPool = new MinervaPool();
_minervaPool.setTransactionManager(_txManager);
_minervaPool.getConnectionFactory().setConnectionURL(url);