热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

ArcObjectsSDKforjava

HowtoinstallArcGISplug-ins如何安装ArcGIS插件ArcGISSDK:file:D:ArcGISDeveloperKit10.2javat


How to install ArcGIS plug-ins如何安装ArcGIS插件

ArcGIS SDK:file:///D:/ArcGIS/DeveloperKit10.2/java/tools/eclipse_plugin/readme.html

Eclipse:D:\迅雷下载\eclipse330\eclipse

Summary摘要

ArcGIS Eclipse plug-in serves many functionalities that ease the development of ArcGIS Engine and Server Applications. This article guides the user step by step to install the plug-in as well as to update the plug-in periodically.

ArcGIS for Eclipse插件提供了许多功能,能够减轻ArcGIS Engine和Server应用开发的困难。本文章将指导用户一步一步安装插件,并定期更新插件。。


In this topic


  • About installing ArcGIS plug-ins关于安装ArcGIS插件
  • Downloading and installing Eclipse下载和安装Eclipse
    • Increasing the memory heap size in Eclipse增加Eclipse的存储空间
  • Creating ArcGIS update sites创建ArcGIS更新站点
  • Installing ArcGIS plug-ins安装ArcGIS插件
  • Accessing ArcGIS Help Contents访问ArcGIS帮助文档
  • Updating ArcGIS plug-ins更新ArcGIS插件



About installing ArcGIS plug-ins

ArcGIS plug-ins for the Eclipse integrated development environment (IDE) have been created to ease ArcGIS Engine and ArcGIS Server application development. The ArcGIS plug-ins are 1.engine 2.server 3.doc.

为方便ArcGIS引擎和ArcGIS服务器应用程序开发,为Eclipse集成开发环境(IDE)创建了ArcGIS插件。ArcGIS插件为:1.engine 2.server 3.文档。


  • The engine plug-in is for developers who wish to build desktop applications using ArcGIS Engine. It provides templates to create simple visual applications, Geoprocessing code generator- a wizard to generate java wrappers for geoprocessing tools, the debugging tool for ArcObjects in Eclipse debug perspective and a list of Esri samples that demonstrates the various functionalities of the ArcGIS Engine product. 引擎插件是为希望使用ArcGIS Engine构建桌面应用程序的开发人员提供的。它提供了创建简单可视化应用程序的模板、地理处理代码生成器(为地理处理工具生成java包装器的向导)、Eclipse debug透视图中ArcObjects的调试工具以及演示ArcGIS引擎产品各种功能的Esri示例列表。
  • The server plug-in provides templates and samples relevant to ArcGIS server development. 服务器插件提供了与ArcGIS服务器开发相关的模板和示例。
  • The doc plug-in supplements the eclipse help content with the documentation for the ArcGIS Engine and ArcGIS Server application development as well as provides context help for ArcObjects during development. Packaging a comprehensive help system for ArcGIS Engine and ArcGIS Server SDK's can significantly increase memory size requirements and consequently, cause the installer to hang on some developer environments. Please refer to 'Accessing ArcGIS Help Content' for resolving issues with the Doc plug-in.doc插件用ArcGIS引擎和ArcGIS服务器应用程序开发的文档补充eclipse帮助内容,并在开发过程中为ArcObjects提供上下文帮助。为ArcGIS Engine和ArcGIS Server SDK打包一个全面的帮助系统可以显著增加内存大小需求,从而导致安装程序挂起在某些开发人员环境中。请参阅“访问ArcGIS帮助内容”以解决Doc插件的问题。


This article describes the necessary steps to download and configure eclipse and to install the engine and the doc plug-in.

The server plug-in requires ArcGIS server installation and engine plug-in requires ArcGIS Engine installation. It is recommended to uninstall any previous versions of ArcGIS plug-in before installation.

server插件需要安装ArcGIS Server,引擎插件需要安装ArcGIS Engine。建议在安装之前卸载任何早期版本的ArcGIS插件。


Downloading and installing Eclipse

ArcGIS Eclipse plug-ins are compatible with the Eclipse IDE for Java Developers built using Eclipse 3.3. You may download Eclipse IDE  from Eclipse download site and install eclipse as suggested. For more information, refer Installing and using Eclipse IDE. 

ArcGIS Eclipse插件与使用Eclipse3.3构建的面向Java开发人员的EclipseIDE兼容。您可以从Eclipse下载站点下载eclipseide,并按照建议安装Eclipse。有关更多信息,请参阅安装和使用eclipseide。

Increasing the memory heap size in Eclipse

 

Eclipse 3.3 allocates 512 megabytes (MB) of Java heap memory by default. However, to avoid out of memory errors during installation of ArcGIS plug-ins, it is strongly recommended to increase this amount to 1024 MB. It is also strongly recommended to add the Max Permgen size available to Eclipse and set it to 256M for server application development. To increase the heap memory:

Eclipse3.3默认分配512兆字节(MB)的Java堆内存。但是,为了避免在安装ArcGIS插件时出现内存不足错误,强烈建议将该值增加到1024MB。还强烈建议添加Eclipse可用的最大Permgen大小,并将其设置为256M以用于服务器应用程序开发。要增加堆内存:

 


  1. Open the eclipse.ini file under the eclipse installation directory(eg. C:\eclipse) with a text editor.
  2. By default, eclipse.ini contains something like:
             –showsplash
              org.eclipse.platform
              ––launcher.XXMaxPermSize
              256m
              –vmargs
              –Xms40m
              –Xmx256m

 


  1. Which sets the heap space to 40MB initially and a maximum of 256MB, and also specifies a PermGen size of 256MB.
  2. The suggested settings for ArcGIS application development are:
              –showsplash
              org.eclipse.platform
              –vmargs
              –Dosgi.requiredJavaVersion=1.5
              –Xms784m
              –Xmx1024m
              –XX:PermSize=256m
              –XX:MaxPermSize=256m
              –XX:+UseParallelGC
  3. Save and close the eclipse.ini file.

Please refer to the following Eclipse WIKI sites for more information:

 


  • FAQ Eclipse.ini.
  • FAQ How do I increase the heap size available to Eclipse?
  • FAQ How do I increase the permgen size available to Eclipse?

 


Creating ArcGIS update sites

The ArcGIS Eclipse plug-ins are installed by creating a local update site for the plug-ins. 

ArcGIS Eclipse插件的安装是通过创建本地plugin站点。


  1. On the Eclipse main menu select Help-> Software Updates-> Find and Install.
  2. On the Install/Update dialog box select Search for new features to install and click Next. See the following screen shot:

     
  3. You need to create a local update site to install ArcGIS Eclipse plug-ins. To create a new local update site, click 'New Local Site' button on the Install dialog box. See the following screen shot. Please note, that you may see different sites listed depending on the installed Eclipse version.

 


  1. Browse to the location of the local site '%ARCGISHOME%/java/tools/eclipse_plugin/arcgis_update_site/engine and click OK. Change the name in the Edit Local Site dialog box to ArcGISEngineUpdateSite and click OK. See the following screen shot:



    Also, Create another local update site as described above

(ArcGISDocUpdateSite) at location ARCGISHOME%/java/tools/eclipse_plugin/arcgis_update_site/doc for ArcGIS doc plug-in. 


  1. The ArcGISEngineUpdateSite and ArcGISDocUpdateSite appears in the list of sites to include in the search. Select the ArcGISEngineUpdateSite and ArcGISDocUpdateSite for and click Finish. See the following screen shot below:

 

  

You may also have to create ArcGISServerUpdateSite at location ARCGISHOME%/java/tools/eclipse_plugin/arcgis_update_site/doc for ArcGIS server plug-in for ArcGIS Server application development.


Installing ArcGIS Plug-ins


  1. When a connection is made, the available features on the update sites are displayed. Click to expand the ArcGISDocUpdateSite and select all the ArcGIS Core and ArcGIS Doc check boxes. Similarly, click o expand the ArcGISEngineUpdateSite and select all of the check boxes. See the following screen shot:

 

 

The Visual Editor Project is required to install the ArcGIS Engine Palette flavor of the ArcGIS Eclipse plug-in. The ArcGIS Engine Palette flavor of the plug-in adds ArcGIS visual beans components to eclipse palette along with other swing components and hence, presents a convenient user interface to drag and drop ArcGIS visual bean components to design ArcGIS Engine Applications in Visual Editor mode. If the visual editor project is not installed in your eclipse installation, the ArcGIS Engine Palette flavor is non-functional.

 

If the Visual Editor Project is not available in Eclipse by default, you may manually install the Visual Editor project as a Eclipse plug-in before installing ArcGIS Engine Palette flavor. For more information, visit the Visual Editor Project website. However, If you would like to skip the ArcGIS Engine Palette feature, deselect the corresponding check box and click Finish.

The current version of Visual Editor(v1.2) requires Eclipse 3.2 (Callisto). The Web Tools Platform (WTP) all-in-one project (version 1.5.) that is bundled with Eclipse 3.2.2 provides Visual Editor update site to install Visual Editor plug-in by default.


  1. Please read and accept Esri license agreement and click Next. See the following screen shot.

 

 

 


  1. Select the preferred location to install the ArcGIS Eclipse Plug-in and Click Finish. See the following screen shot.

 

 

 


  1.  Click Install All on the verification dialog box and Restart Eclipse when prompted. See the following screen shot:

 

 

 


  1. After restarting Eclipse, you may be prompted to set the ArcGIS installation directory. If so, browse and select the ArcGIS installation directory(%ARCGISHOME%). If you were not prompted, the ArcGIS Eclipse plug-in will automatically detect the installation directory. An Overview welcome page will be displayed. If not, click Help->Welcome. Click the Overview icon and in the subsequent page that is displayed, click on the Esri Globe icon. This subsequent page provides information for getting started with links t samples and the help system. See the following screen shot:

 


 


Accessing ArcGIS Help Content

Packaging a comprehensive help system for ArcGIS Engine and ArcGIS Server SDK's can significantly increase memory size requirements and cause some users environments to hang on install. The solution is to host the content as an InfoCenter site on a dedicated server, or locally on your development machine. Eclipse InfoCenters allow users to access help systems from remote servers over the internet or an intranet. The ArcGIS Java Developer Help System is available as a stand alone external system which can be started in 'Server' mode using the start/stop scripts available at '%ARCGISHOME%\java\ docs\' once the Help System has been installed.

 


  1. On the Server where the ArcGIS Java Developer Help System is installed, navigate to '%ARCGISHOME%\java\docs\' and execute the'startJavaHelpServer.bat' script to start the server.

  1. The ArcGIS Java Developer Help System InfoCenter uses port 2112 by default. You can access the Help System locally with the following url: http://localhost:2112/help/index.jsp. Replace 'localhost' with your server name or ip address to access the Help System remotely.

  1. Once you have confirmed that your Help System is up and running, you can use the Remote Help System feature in Eclipse v3.3 to access the help system by merging your Eclipse local content with the ArcGIS remote content. The help system will behave as though it were local.

  1. Open Eclipse on your developer machine and on the Eclipse main menu, select 'Window->Preferences�'.

  1. In the Preference dialog, navigate to 'Help->Content'.

  1. The Eclipse Help System needs to know the address (host/IP) and port of the remote server to integrate with the local system. Select the 'Include help content form a remote infocenter' checkbox and provide the following server information: (a)Host: Put a valid Server Name or IP Address where the remote infocenter is located. In our example the server name is 'javabuild'. (b) Path: '/help'. (c) Select the 'Use Port' radio box and put '2112' in the port text box. The dialog should resemble the image below with your server name replacing 'javabuild'.

 

 


  1. Click 'OK' to close the Preference dialog.

  1. Open up the Eclipse Help System, 'Help->Help Contents', to see the ArcGIS Java Developer Help System integrated into your local Eclipse Help System.

 

 


Updating ArcGIS plug-ins

Esri periodically releases updates for ArcGIS plug-ins that would include additional plug-in capabilities or new help documents and samples. Therefore it is recommended to verify if any updates are available periodically.

 


  • You may Update all sites including ArcGIS plug-in update site by selecting Help->Software Updates->Find and Install. In the subsequent dialog box, Select Search to find updates for the currently installed features, and click Finish. This option can be slow because it tries to update every installed feature.
  • To update only the ArcGIS plug-ins, select Help->Software Updates->Manage Configuration.

 


    1. In the Product Configuration dialog box, click to expand the TOC.
    2. Right-click the ArcGIS Core, ArcGIS Doc, or ArcGIS Engine node, then click Find Updates. See the following screen shot:
       

This article describes the installation of ArcGIS eclipse plug-ins and the steps to access the ArcGIS Help Contents within Eclipse Help and to update the ArcGIS plug-in sites periodically.



the attribute supportsMSD is undefined for the annotation type ServerObjectExtProperties

删掉该属性的默认参数即可。

可能默认MSD就支持吧?

只安装ArcObjects SDK是不够的。。需要先安装ArcGIS Server或者ArcEngine。。

导出SOE

部署


推荐阅读
  • 利用Visual Basic开发SAP接口程序初探的方法与原理
    本文介绍了利用Visual Basic开发SAP接口程序的方法与原理,以及SAP R/3系统的特点和二次开发平台ABAP的使用。通过程序接口自动读取SAP R/3的数据表或视图,在外部进行处理和利用水晶报表等工具生成符合中国人习惯的报表样式。具体介绍了RFC调用的原理和模型,并强调本文主要不讨论SAP R/3函数的开发,而是针对使用SAP的公司的非ABAP开发人员提供了初步的接口程序开发指导。 ... [详细]
  • 如何使用Java获取服务器硬件信息和磁盘负载率
    本文介绍了使用Java编程语言获取服务器硬件信息和磁盘负载率的方法。首先在远程服务器上搭建一个支持服务端语言的HTTP服务,并获取服务器的磁盘信息,并将结果输出。然后在本地使用JS编写一个AJAX脚本,远程请求服务端的程序,得到结果并展示给用户。其中还介绍了如何提取硬盘序列号的方法。 ... [详细]
  • 搭建Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境的详细步骤
    本文详细介绍了搭建Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境的步骤,包括环境说明、相关软件下载的地址以及所需的插件下载地址。 ... [详细]
  • Nginx使用AWStats日志分析的步骤及注意事项
    本文介绍了在Centos7操作系统上使用Nginx和AWStats进行日志分析的步骤和注意事项。通过AWStats可以统计网站的访问量、IP地址、操作系统、浏览器等信息,并提供精确到每月、每日、每小时的数据。在部署AWStats之前需要确认服务器上已经安装了Perl环境,并进行DNS解析。 ... [详细]
  • 本文介绍了解决Netty拆包粘包问题的一种方法——使用特殊结束符。在通讯过程中,客户端和服务器协商定义一个特殊的分隔符号,只要没有发送分隔符号,就代表一条数据没有结束。文章还提供了服务端的示例代码。 ... [详细]
  • 本文介绍了在rhel5.5操作系统下搭建网关+LAMP+postfix+dhcp的步骤和配置方法。通过配置dhcp自动分配ip、实现外网访问公司网站、内网收发邮件、内网上网以及SNAT转换等功能。详细介绍了安装dhcp和配置相关文件的步骤,并提供了相关的命令和配置示例。 ... [详细]
  • Nginx使用(server参数配置)
    本文介绍了Nginx的使用,重点讲解了server参数配置,包括端口号、主机名、根目录等内容。同时,还介绍了Nginx的反向代理功能。 ... [详细]
  • 本文介绍了使用AJAX的POST请求实现数据修改功能的方法。通过ajax-post技术,可以实现在输入某个id后,通过ajax技术调用post.jsp修改具有该id记录的姓名的值。文章还提到了AJAX的概念和作用,以及使用async参数和open()方法的注意事项。同时强调了不推荐使用async=false的情况,并解释了JavaScript等待服务器响应的机制。 ... [详细]
  • 目录实现效果:实现环境实现方法一:基本思路主要代码JavaScript代码总结方法二主要代码总结方法三基本思路主要代码JavaScriptHTML总结实 ... [详细]
  • Centos7.6安装Gitlab教程及注意事项
    本文介绍了在Centos7.6系统下安装Gitlab的详细教程,并提供了一些注意事项。教程包括查看系统版本、安装必要的软件包、配置防火墙等步骤。同时,还强调了使用阿里云服务器时的特殊配置需求,以及建议至少4GB的可用RAM来运行GitLab。 ... [详细]
  • Python瓦片图下载、合并、绘图、标记的代码示例
    本文提供了Python瓦片图下载、合并、绘图、标记的代码示例,包括下载代码、多线程下载、图像处理等功能。通过参考geoserver,使用PIL、cv2、numpy、gdal、osr等库实现了瓦片图的下载、合并、绘图和标记功能。代码示例详细介绍了各个功能的实现方法,供读者参考使用。 ... [详细]
  • 成功安装Sabayon Linux在thinkpad X60上的经验分享
    本文分享了作者在国庆期间在thinkpad X60上成功安装Sabayon Linux的经验。通过修改CHOST和执行emerge命令,作者顺利完成了安装过程。Sabayon Linux是一个基于Gentoo Linux的发行版,可以将电脑快速转变为一个功能强大的系统。除了作为一个live DVD使用外,Sabayon Linux还可以被安装在硬盘上,方便用户使用。 ... [详细]
  • 本文介绍了在Windows环境下如何配置php+apache环境,包括下载php7和apache2.4、安装vc2015运行时环境、启动php7和apache2.4等步骤。希望对需要搭建php7环境的读者有一定的参考价值。摘要长度为169字。 ... [详细]
  • 本文介绍了在mac环境下使用nginx配置nodejs代理服务器的步骤,包括安装nginx、创建目录和文件、配置代理的域名和日志记录等。 ... [详细]
  • WebSocket与Socket.io的理解
    WebSocketprotocol是HTML5一种新的协议。它的最大特点就是,服务器可以主动向客户端推送信息,客户端也可以主动向服务器发送信息,是真正的双向平等对话,属于服务器推送 ... [详细]
author-avatar
PHP》小魏
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有