view README @ 424:fdfa967699b4

Tagged 'artifacts' as 2.9.1 artifacts/trunk@5492 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 17 Sep 2012 12:46:30 +0000
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