Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/importer/Importer.java @ 766:aa9e3da95c31
Importer: Fix import of annotation type classification.
flys-backend/trunk@2163 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 19 Jun 2011 17:43:38 +0000 |
parents | 763c4137d6e1 |
children | f08fe480092c |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Importer.java Sun Jun 19 12:26:12 2011 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/Importer.java Sun Jun 19 17:43:38 2011 +0000 @@ -90,11 +90,14 @@ String annotationTypes = System.getProperty(ANNOTATION_TYPES); if (annotationTypes == null) { + log.info("no annotation types file configured."); return null; } File file = new File(annotationTypes); + log.info("use annotation types file '" + file + "'"); + if (!(file.isFile() && file.canRead())) { log.warn("annotation type file '" + file + "' is not readable."); return null;