annotate README @ 538:8bf00b8266fe 3.1.10

Add script for creation of h2-database and remove concurrent config.
author Tom Gottfried <tom@intevation.de>
date Wed, 17 Dec 2014 15:46:21 +0100
parents aa9f2f5ff032
children 48d14cf857db
rev   line source
3
b1ec257e9d8d Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
1
b1ec257e9d8d Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
2 Create a new H2 database for usage in the artifact database:
b1ec257e9d8d Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
3
271
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
4 $ mkdir testdb
45
9449f296cd54 Fixed inconsistencies in documentation after changes in h2-config
Hans Plum <hans.plum@intevation.de>
parents: 30
diff changeset
5
271
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
6 $ for i in h2-1.3.152 artifact-database-1.0-SNAPSHOT artifacts-common-1.0-SNAPSHOT log4j-1.2.14 ; do
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
7 > export CLASSPATH=$CLASSPATH:`find ~/.m2/ -name $i.jar`
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
8 > done
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
9
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
10 $ java org.h2.tools.RunScript \
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
11 > -url jdbc:h2:`readlink -f testdb`/artifacts.db \
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
12 > -script artifact-database/doc/schema-h2.sql
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 45
diff changeset
13

http://dive4elements.wald.intevation.org