Mercurial > dive4elements > framework
annotate README @ 415:d4a846ee35b8
Implement ArtifactDatabase findUser method
artifacts/trunk@5262 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 24 Aug 2012 14:08:31 +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 |