Mercurial > mxd2map
comparison 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 |
comparison
equal
deleted
inserted
replaced
102:3ca2ec55fb3b | 103:163d474165b0 |
---|---|
53 * Initialize the ArcGIS Objects. | 53 * Initialize the ArcGIS Objects. |
54 */ | 54 */ |
55 public boolean init() | 55 public boolean init() |
56 throws IOException { | 56 throws IOException { |
57 logger.debug("init()"); | 57 logger.debug("init()"); |
58 initializer.initArcGIS(); | 58 if(!initializer.initArcGIS()) { |
59 initializer.initArcGISLicenses(); | 59 return false; |
60 } | |
61 if(!initializer.initArcGISLicenses()) { | |
62 return false; | |
63 } | |
60 return true; | 64 return true; |
61 } | 65 } |
62 | 66 |
63 /** | 67 /** |
64 * Shutdown the ArcGIS Objects. | 68 * Shutdown the ArcGIS Objects. |