annotate src/java/de/intevation/mxd/ArcGISInitializer.java @ 185:415101ff1ac2

Remove whitespaces from unique values string only if it is a concatenation of multiple values.
author raimund renkert <raimund.renkert@intevation.de>
date Wed, 20 Jul 2011 12:32:08 +0200
parents f4eb506499f5
children df4e0946ef02
rev   line source
33
c51376f8e24c Separated converter components into packages.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
1 package de.intevation.mxd;
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
2
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
3 import java.io.IOException;
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
4 import java.io.File;
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
5 import java.lang.reflect.Method;
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
6 import java.net.URL;
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
7 import java.net.URLClassLoader;
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
8
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
9 import org.apache.log4j.Logger;
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
10
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
11 import com.esri.arcgis.system.AoInitialize;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
12 import com.esri.arcgis.system.EngineInitializer;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
13 import com.esri.arcgis.system.esriLicenseProductCode;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
14 import com.esri.arcgis.system.esriLicenseStatus;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
15
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
16 /**
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
17 * Initializes the ArcGIS Engine and Objects.
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
18 *
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
19 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
20 */
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
21 public class ArcGISInitializer {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
22
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
23 /**
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
24 * The Logger.
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
25 */
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
26 private static final Logger logger = Logger.getLogger(ArcGISInitializer.class);
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
27
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
28 /**
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
29 * Private member.
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
30 */
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
31 private AoInitialize aoInit;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
32 private String engineInstallDir = "";
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
33
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
34
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
35 /**
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
36 * Init ArcGIS Java Objects.
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
37 */
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
38 public boolean initArcGIS ()
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
39 throws IOException {
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
40 logger.debug("initArcGIS()");
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
41
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
42 String engineInstallDir = System.getenv("AGSENGINEJAVA");
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
43 if(engineInstallDir == null) {
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
44 engineInstallDir = System.getenv("AGSDESKTOPJAVA");
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
45 if(engineInstallDir == null) {
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
46 logger.error("Could not find ArcGIS Environment. \n" +
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
47 "AGSENGINEJAVA or AGSDESKTOPJAVA not set.");
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
48 return false;
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
49 }
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
50 }
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
51
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
52 //Obtain the relative path to the arcobjects.jar file
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
53 String jarPath = engineInstallDir + "java" + File.separator + "lib" +
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
54 File.separator + "arcobjects.jar";
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
55
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
56 //Create a new file
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
57 File jarFile = new File(jarPath);
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
58
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
59 //Test for file existence
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
60 if(!jarFile.exists()){
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
61 logger.error("The arcobjects.jar was not found in the" +
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
62 " following location: " + jarFile.getParent());
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
63 logger.error("Verify that arcobjects.jar can" +
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
64 " be located in the specified folder.");
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
65 logger.error("If not present, try uninstalling your" +
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
66 " ArcGIS software and reinstalling it.");
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
67 System.exit(0);
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
68 }
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
69
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
70 //Helps load classes and resources from a search path of URLs
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
71 URLClassLoader sysloader =
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
72 (URLClassLoader) ClassLoader.getSystemClassLoader();
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
73 Class<URLClassLoader> sysclass = URLClassLoader.class;
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
74
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
75 try {
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
76 Method method = sysclass.getDeclaredMethod("addURL",
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
77 new Class[]{URL.class});
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
78 method.setAccessible(true);
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
79 method.invoke(sysloader, new Object[]{jarFile.toURI().toURL()});
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
80 }
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
81 catch (Throwable throwable) {
111
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
82 throwable.printStackTrace();
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
83 logger.error("Could not add arcobjects.jar to system classloader");
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
84 System.exit(0);
104af51a4717 Load the arcobjects.jar from ArcGIS install folder.
vc11884admin@VC11884.win.bsh.de
parents: 103
diff changeset
85 }
180
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
86
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
87 EngineInitializer.initializeEngine();
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
88
f4eb506499f5 Done some code styling and removed TODOs.
Raimund Renkert <rrenkert@intevation.de>
parents: 111
diff changeset
89 aoInit = new AoInitialize();
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
90 return true;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
91 }
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
92
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
93 /**
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
94 * Init ArcGIS License.
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
95 */
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
96 public boolean initArcGISLicenses()
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
97 throws IOException {
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
98 logger.debug("initArcGISLicenses()");
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
99 if(aoInit.isProductCodeAvailable
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
100 (esriLicenseProductCode.esriLicenseProductCodeEngine) ==
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
101 esriLicenseStatus.esriLicenseAvailable) {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
102 aoInit.initialize
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
103 (esriLicenseProductCode.esriLicenseProductCodeEngine);
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
104 }
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
105 else if (aoInit.isProductCodeAvailable
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
106 (esriLicenseProductCode.esriLicenseProductCodeArcView) ==
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
107 esriLicenseStatus.esriLicenseAvailable) {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
108 aoInit.initialize
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
109 (esriLicenseProductCode.esriLicenseProductCodeArcView);
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
110 }
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
111 else {
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
112 logger.error("Engine Runtime or ArcView" +
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
113 " license not initialized.\n" +
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
114 "Please install an ArcGIS product and set the" +
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
115 " PATH-variable correctly.");
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
116 return false;
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
117 }
103
163d474165b0 Added check for ArcGISDesktop environment.
Raimund Renkert <rrenkert@intevation.de>
parents: 43
diff changeset
118 return true;
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
119 }
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
120
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
121 /**
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
122 * Shutdown the ArcGIS Objects.
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
123 */
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
124 public boolean shutdownArcGIS()
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
125 throws IOException {
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
126 if(aoInit != null) {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
127 aoInit.shutdown();
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
128 return true;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
129 }
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
130 else {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
131 return false;
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
132 }
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
133 }
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
134
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
135 /**
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
136 * Get the ArcGIS Engine Directory.
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
137 */
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
138 public String getEngineDirectory()
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
139 throws Exception {
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
140 if(engineInstallDir == "") {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
141 throw new Exception("Call initArcGIS() first!");
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
142 }
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
143 else {
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
144 return engineInstallDir;
43
ef7ca23c4233 Added comments, done some code styling and removed typos.
Raimund Renkert <rrenkert@intevation.de>
parents: 33
diff changeset
145 }
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
146 }
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
147 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)