changeset 997:4c82609824c8

For doc purposes add section with db config in config.xml flys-artifacts/trunk@2433 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 01 Aug 2011 08:11:12 +0000
parents f61fe8b561d2
children b81626b10cb7
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/conf.xml
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Sun Jul 31 19:47:41 2011 +0000
+++ b/flys-artifacts/ChangeLog	Mon Aug 01 08:11:12 2011 +0000
@@ -1,3 +1,8 @@
+2011-08-01  Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+	* doc/conf/conf.xml: For documentation purposes added a out-commented 
+	  section with the default configuration of the datacage.
+
 2011-07-31  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
--- a/flys-artifacts/doc/conf/conf.xml	Sun Jul 31 19:47:41 2011 +0000
+++ b/flys-artifacts/doc/conf/conf.xml	Mon Aug 01 08:11:12 2011 +0000
@@ -119,6 +119,15 @@
         <config-file>${artifacts.config.dir}/cache.xml</config-file>
     </cache>
 
+    <!-- This is the default configuration of the datacage db:
+    <datacage>
+        <user/>
+        <password/>
+        <driver>org.h2.Driver</driver>
+        <url>jdbc:h2:mem:datacage;INIT=RUNSCRIPT FROM '${artifacts.config.dir}/datacage.sql'</url>
+    </datacage>
+    -->
+
     <database>
         <!-- This Section configures the Settings for connecting to the 
              Artifact-Database instance. e.g. SQLite -->

http://dive4elements.wald.intevation.org