# HG changeset patch # User Ingo Weinzierl # Date 1319791966 0 # Node ID 7d1bd710a4b3201808daf0257c24e91aceba8be6 # Parent 0156105222c9edb522a074121335ef6e6c18c17f Made flys-artifacts compilable again. flys-artifacts/trunk@3098 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 0156105222c9 -r 7d1bd710a4b3 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Oct 28 08:36:32 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Oct 28 08:52:46 2011 +0000 @@ -1,3 +1,8 @@ +2011-10-28 Ingo Weinzierl + + * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix: + Catch IOException - flys-artifacts compiles again. + 2011-10-28 Ingo Weinzierl * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet diff -r 0156105222c9 -r 7d1bd710a4b3 flys-artifacts/src/main/java/de/intevation/flys/exports/MapGenerator.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/MapGenerator.java Fri Oct 28 08:36:32 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/MapGenerator.java Fri Oct 28 08:52:46 2011 +0000 @@ -114,8 +114,13 @@ protected void createWSPLGENLayer(FLYSArtifact flys, WMSLayerFacet wms) { - MapfileGenerator mfg = MapfileGenerator.getInstance(); - mfg.createUeskLayer(flys, wms); + try { + MapfileGenerator mfg = MapfileGenerator.getInstance(); + mfg.createUeskLayer(flys, wms); + } + catch (IOException ioe) { + logger.error(ioe, ioe); + } }