Many of the ArcGIS Military Analyst and MOLE extension application programming interface (API) objects you have used in the past have equivalent or near equivalent objects in the ArcGIS 10 ArcObjects API. These new objects should now be used and do not require a Military Analyst extension or MOLE extension license. See Migrating from Military Analyst and MOLE for information on how to accomplish tasks in ArcGIS 10 that previously required the Military Analyst and MOLE APIs.
Background
At versions 9.2 and earlier, the MOLE class library was available as arcgis_mole.jar. Military Analyst also provided an API at version 9.2—packaged as arcgis_militaryanalyst.jar. To provide a unified experience for developers who currently use both libraries, at version 9.3, these two libraries have been combined into one single class library, defensesolutions (arcgis_defensesolutions.jar). This means that, in order to gain access to both the MOLE and Military Analyst APIs, you simply add arcgis_defensesolutions.jar to your project’s library list and add the following import statement to your source file:
[Java]
import com.esri.arcgis.defensesolutions.*;
Subsequently, while coding, you can declare types defined in the defensesolutions library, for example:
IMoleSymbol moleSymbol = new MoleMarkerSymbol();
Implications for 9.3 and Future Development
What do you need to do?
- For new development, you will need to add a reference to a single JAR file, arcgis_defensesolutions.jar as well as add the statement import com.esri.arcgis.defensesolutions.*to your source file. Do not use arcgis_mole.jar or arcgis_militaryanalyst.jar.
- In existing projects, you must remove references to either arcgis_mole.jar or arcgis_militaryanalyst.jar, as well as delete all import statements that use com.esri.arcgis.mole or com.esri.arcgis.militaryanalyst in your source code. Subsequently, you need to add a reference to arcgis_defensesolutions.jar and add the following import statement to your source code:
import com.esri.arcgis.defensesolutions
- Any explicit use of the type library names com.esri.arcgis.mole or com.esri.arcgis.militaryanalyst must be changed to com.esri.arcgis.defensesolutions .
See Also:
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit: Military Analyst | Engine Runtime: Military Analyst |
Engine Developer Kit: Military Overlay Editor | Engine Runtime: Military Overlay Editor |