avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 22403 - in avalon/trunk/planet/facilities/dbcp/impl: . etc src/java/org/apache/avalon/dbcp
Date Thu, 01 Jul 2004 05:31:39 GMT
Author: mcconnell
Date: Wed Jun 30 22:31:39 2004
New Revision: 22403

Added:
   avalon/trunk/planet/facilities/dbcp/impl/src/java/org/apache/avalon/dbcp/DbcpConnectionManager.xprofile
Removed:
   avalon/trunk/planet/facilities/dbcp/impl/etc/
Modified:
   avalon/trunk/planet/facilities/dbcp/impl/build.xml
Log:
move block declaration into the build 

Modified: avalon/trunk/planet/facilities/dbcp/impl/build.xml
==============================================================================
--- avalon/trunk/planet/facilities/dbcp/impl/build.xml	(original)
+++ avalon/trunk/planet/facilities/dbcp/impl/build.xml	Wed Jun 30 22:31:39 2004
@@ -6,5 +6,14 @@
   <property file="build.properties"/>
   <import file="${project.system}/build/standard.xml"/>
 
+  <target name="build" depends="standard.build">
+    <x:property property="hsql.spec" key="avalon-db-hsql" feature="spec"/>
+    <x:block name="dbcp" embed="MAIN">
+      <x:include name="hsql-server" artifact="block:${hsql.spec}"/>
+      <x:component name="dbcp-manager" profile="dbcp-simulation" 
+         class="org.apache.avalon.dbcp.DbcpConnectionManager"/>
+    </x:block>
+  </target>
+
 </project>
 

Added: avalon/trunk/planet/facilities/dbcp/impl/src/java/org/apache/avalon/dbcp/DbcpConnectionManager.xprofile
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/facilities/dbcp/impl/src/java/org/apache/avalon/dbcp/DbcpConnectionManager.xprofile
Wed Jun 30 22:31:39 2004
@@ -0,0 +1,18 @@
+<profiles>
+
+  <profile name="dbcp-simulation">
+    <configuration>
+      <datasources>
+        <datasource name="hsql" default="true">
+          <driver>org.hsqldb.jdbcDriver</driver>
+          <db-url>jdbc:hsqldb:hsql://localhost</db-url>
+          <username>sa</username>
+          <password></password>
+          <read-only>false</read-only>
+          <auto-commit>true</auto-commit>
+        </datasource>
+      </datasources>
+    </configuration>
+  </profile>
+
+</profiles>

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message