diff src/java/de/intevation/mxd/reader/MXDReader.java @ 103:163d474165b0

Added check for ArcGISDesktop environment.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 10 Jun 2011 14:04:03 +0200
parents 7eba97e8201b
children 39957898c694
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/MXDReader.java	Fri Jun 10 11:35:41 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/MXDReader.java	Fri Jun 10 14:04:03 2011 +0200
@@ -55,8 +55,12 @@
     public boolean init()
     throws IOException {
         logger.debug("init()");
-        initializer.initArcGIS();
-        initializer.initArcGISLicenses();
+        if(!initializer.initArcGIS()) {
+            return false;
+        }
+        if(!initializer.initArcGISLicenses()) {
+            return false;
+        }
         return true;
     }
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)