view README @ 453:a2efc9d65a11 2.9.8

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 28 Dec 2012 13:32:32 +0100
parents aa9f2f5ff032
children 48d14cf857db
line wrap: on
line source

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

$ mkdir testdb

$ for i in h2-1.3.152 artifact-database-1.0-SNAPSHOT artifacts-common-1.0-SNAPSHOT log4j-1.2.14 ; do
>    export CLASSPATH=$CLASSPATH:`find ~/.m2/ -name $i.jar`
> done

$ java org.h2.tools.RunScript \
>    -url jdbc:h2:`readlink -f testdb`/artifacts.db \
>    -script artifact-database/doc/schema-h2.sql

http://dive4elements.wald.intevation.org