james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r684830 - in /james/server/trunk: core-function/src/main/java/org/apache/james/util/ core-function/src/main/java/org/apache/james/util/dbcp/ core-function/src/main/resources/org/ core-function/src/main/resources/org/apache/ core-function/sr...
Date Mon, 11 Aug 2008 17:32:51 GMT
Author: bago
Date: Mon Aug 11 10:32:50 2008
New Revision: 684830

URL: http://svn.apache.org/viewvc?rev=684830&view=rev
Log:
Moved JdbcDataSource (dbcp) from core-library to core-function after changing test "Util"
to use excalibur default datasource instead of dbcp.
Moved *.xinfo files from core-library to the appropriate module (management-library / core-function)

Added:
    james/server/trunk/core-function/src/main/java/org/apache/james/util/
    james/server/trunk/core-function/src/main/java/org/apache/james/util/dbcp/
      - copied from r684811, james/server/trunk/core-library/src/main/java/org/apache/james/util/dbcp/
    james/server/trunk/core-function/src/main/resources/org/
    james/server/trunk/core-function/src/main/resources/org/apache/
    james/server/trunk/core-function/src/main/resources/org/apache/james/
    james/server/trunk/core-function/src/main/resources/org/apache/james/dnsserver/
      - copied from r684811, james/server/trunk/core-library/src/main/resources/org/apache/james/dnsserver/
    james/server/trunk/core-function/src/main/resources/org/apache/james/domain/
      - copied from r684811, james/server/trunk/core-library/src/main/resources/org/apache/james/domain/
    james/server/trunk/core-function/src/main/resources/org/apache/james/mailrepository/
      - copied from r684811, james/server/trunk/core-library/src/main/resources/org/apache/james/mailrepository/
    james/server/trunk/management-library/src/main/resources/org/
    james/server/trunk/management-library/src/main/resources/org/apache/
    james/server/trunk/management-library/src/main/resources/org/apache/james/
    james/server/trunk/management-library/src/main/resources/org/apache/james/management/
      - copied from r684811, james/server/trunk/core-library/src/main/resources/org/apache/james/management/
Removed:
    james/server/trunk/core-library/src/main/java/org/apache/james/util/dbcp/
    james/server/trunk/core-library/src/main/resources/org/apache/james/dnsserver/
    james/server/trunk/core-library/src/main/resources/org/apache/james/domain/
    james/server/trunk/core-library/src/main/resources/org/apache/james/mailrepository/
    james/server/trunk/core-library/src/main/resources/org/apache/james/management/
Modified:
    james/server/trunk/core-library/src/test/java/org/apache/james/test/util/Util.java

Modified: james/server/trunk/core-library/src/test/java/org/apache/james/test/util/Util.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/test/java/org/apache/james/test/util/Util.java?rev=684830&r1=684829&r2=684830&view=diff
==============================================================================
--- james/server/trunk/core-library/src/test/java/org/apache/james/test/util/Util.java (original)
+++ james/server/trunk/core-library/src/test/java/org/apache/james/test/util/Util.java Mon
Aug 11 10:32:50 2008
@@ -20,6 +20,7 @@
 package org.apache.james.test.util;
 
 import org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector;
+import org.apache.avalon.excalibur.datasource.JdbcDataSource;
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.DefaultConfiguration;
 import org.apache.derby.jdbc.EmbeddedDriver;
@@ -98,7 +99,7 @@
         DefaultConfiguration dc = new DefaultConfiguration("database-connections");
         DefaultConfiguration ds = new DefaultConfiguration("data-source");
         ds.setAttribute("name","maildb");
-        ds.setAttribute("class",org.apache.james.util.dbcp.JdbcDataSource.class.getName());
+        ds.setAttribute("class",JdbcDataSource.class.getName());
         
         ds.addChild(new AttrValConfiguration("driver",EmbeddedDriver.class.getName()));
         ds.addChild(new AttrValConfiguration("dburl","jdbc:derby:target/testdb;create=true"));



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message