Mercurial > dive4elements > framework
comparison 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 |
comparison
equal
deleted
inserted
replaced
29:22b03d5c84c5 | 30:88972c6daa4f |
---|---|
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.Shell \ | 4 $ java -cp `find ~/.m2/ -name h2\*.jar` org.h2.tools.RunScript \ |
5 -user USER \ | 5 -user USER \ |
6 -password PASSWORD \ | 6 -password PASSWORD \ |
7 -url jdbc:h2:PATH_TO_FILE \ | 7 -url jdbc:h2:artifact-database/doc/example-conf/artifacts.db \ |
8 < artifact-database/doc/schema.sql | 8 -script artifact-database/doc/schema.sql |