view README @ 515:22d66b405b24

merged-
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 30 Apr 2014 15:30:33 +0200
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