Mercurial > dive4elements > framework
comparison README @ 271:aa9f2f5ff032
flys/issue75: fixed doc and schema to make H2 work again.
artifacts/trunk@2059 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 06 Jun 2011 14:00:38 +0000 |
parents | 9449f296cd54 |
children | 48d14cf857db |
comparison
equal
deleted
inserted
replaced
270:89f6de49803d | 271:aa9f2f5ff032 |
---|---|
1 | 1 |
2 Create a new H2 database for usage in the artifact database: | 2 Create a new H2 database for usage in the artifact database: |
3 | 3 |
4 $ java -cp `find ~/.m2/ -name h2\*.jar` org.h2.tools.RunScript \ | 4 $ mkdir testdb |
5 -user USER \ | |
6 -password PASSWORD \ | |
7 -url jdbc:h2:artifact-database/doc/example-conf/artifacts.db \ | |
8 -script artifact-database/doc/schema-h2.sql | |
9 | 5 |
6 $ for i in h2-1.3.152 artifact-database-1.0-SNAPSHOT artifacts-common-1.0-SNAPSHOT log4j-1.2.14 ; do | |
7 > export CLASSPATH=$CLASSPATH:`find ~/.m2/ -name $i.jar` | |
8 > done | |
9 | |
10 $ java org.h2.tools.RunScript \ | |
11 > -url jdbc:h2:`readlink -f testdb`/artifacts.db \ | |
12 > -script artifact-database/doc/schema-h2.sql | |
13 |