annotate README @ 550:68f01f10624e

Introduced helper for finding the user name for a given artifact
author gernotbelger
date Fri, 09 Feb 2018 13:26:19 +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