Mercurial > dive4elements > river
annotate artifacts/doc/conf/artifact-db.xml @ 8472:3f505fba522f
(issue1772) Use 0.001km tolarance instead of 0.1 to find matching km.
There is no sense to use a define here. I will not write
static final double NULLPOINTNULLNULLONE=0.001 if i just want to use that
value and not any other value which may make sense in some other place.
Using hardcoded values can have its merits and makes the code easier to
read.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 18 Nov 2014 15:24:40 +0100 |
parents | 5aa05a7a34b7 |
children | 308a0d822d18 |
rev | line source |
---|---|
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" ?> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 <database> |
3219
fa30e6322ef3
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3093
diff
changeset
|
3 <!-- This Section configures the Settings for connecting to the |
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 Artifact-Database instance. e.g. SQLite --> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 <user>SA</user> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 <password></password> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
7 <!-- For use with a postgresql database use the appropriate driver--> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
8 <!--driver>org.postgresql.Driver</driver--> |
5249
9c4e2192810c
Use default paths which are the same paths used when
Andre Heinecke <aheinecke@intevation.de>
parents:
3219
diff
changeset
|
9 <url>jdbc:h2:${artifacts.config.dir}/../artifactsdb/artifacts</url> |
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
10 </database> |