annotate README @ 30:88972c6daa4f

Added a cleanup thread which periodically removes outdated artifacts from database and calls there endOfLife() method. artifacts/trunk@70 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Sep 2009 23:16:18 +0000
parents b1ec257e9d8d
children 9449f296cd54
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
30
88972c6daa4f Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3
diff changeset
4 $ java -cp `find ~/.m2/ -name h2\*.jar` org.h2.tools.RunScript \
3
b1ec257e9d8d Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
5 -user USER \
b1ec257e9d8d Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
6 -password PASSWORD \
30
88972c6daa4f Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3
diff changeset
7 -url jdbc:h2:artifact-database/doc/example-conf/artifacts.db \
88972c6daa4f Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3
diff changeset
8 -script artifact-database/doc/schema.sql

http://dive4elements.wald.intevation.org