annotate README @ 300:0035e2511342

CREATE documents for Artifact creation might contain db-ids now. artifacts/trunk@2388 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 21 Jul 2011 15:05:49 +0000
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