Mercurial > dive4elements > gnv-client
changeset 868:1d684004a6d1
Replaced path to database with a path relative to the configuration directory.
gnv-artifacts/trunk@1008 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 27 Apr 2010 16:21:59 +0000 |
parents | 35c3e82f7eaa |
children | 27112636e8bb |
files | gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/conf.xml |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Tue Apr 27 15:11:16 2010 +0000 +++ b/gnv-artifacts/ChangeLog Tue Apr 27 16:21:59 2010 +0000 @@ -1,3 +1,9 @@ +2010-04-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + * doc/conf/conf.xml: Replaced the path to the artifact database with a + relative path since the artifact-server is able to read relative pathes + for the database configuration. + 2010-04-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> * doc/conf/conf.xml: Changed the default directory of the artifact database.
--- a/gnv-artifacts/doc/conf/conf.xml Tue Apr 27 15:11:16 2010 +0000 +++ b/gnv-artifacts/doc/conf/conf.xml Tue Apr 27 16:21:59 2010 +0000 @@ -542,7 +542,7 @@ <database> <user>SA</user> <password></password> - <url>jdbc:h2:../artifactdb/artifacts.db</url> + <url>jdbc:h2:${artifacts.config.dir}/../artifactdb/artifacts.db</url> <!--driver>org.h2.Driver</driver> <sql></sql> --> </database>