view README @ 10:e8626caac353

* Made Artifact life cycle symmetric: setup/endOfLife. * Implement defaults for Artifact and ArtifactFactory. * Added connection pooling from apache commons dbcp * Made sql schema of artifact database more compatible. * Improve example config. * Made artifactdb start with 'mvn exec:exec' * minor fixes. artifacts/trunk@25 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 06 Sep 2009 12:00:56 +0000
parents b1ec257e9d8d
children 88972c6daa4f
line wrap: on
line source

Create a new H2 database for usage in the artifact database:

$ java -cp `find ~/.m2/ -name h2\*.jar` org.h2.tools.Shell \
    -user USER \
    -password PASSWORD \
    -url jdbc:h2:PATH_TO_FILE \
    < artifact-database/doc/schema.sql

http://dive4elements.wald.intevation.org