导入/安装专有插件时出错-Eclipse



我已经试着通过"安装新软件"导入一些(专有)插件两天了
我还尝试在Windows(成功地做到了)和Mac操作系统上安装插件(由于以下错误而失败),现在我正尝试将所有插件从Windows Eclipse安装导入Mac操作系统。

关于我的环境的一些细节:

  • 必需的Eclipse 3.7版本(我不能让特定的插件运行在比这更高的版本上)
  • Windows 7/Mac操作系统Yosemite

我尝试了什么,但失败了,出现了以下错误:

  • 从.jar安装程序安装
  • 从.p2f导入(文件->安装程序->导出/导入)
  • 从现有eclipse安装导入
  • 将插件文件夹内容从Windows复制到Mac操作系统

有没有办法手动安装(专有)插件依赖项?我很乐意这样做来解决这个问题。

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.eclipse.draw2d,3.10.100.201605020204.
Error reading signed content:/var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile1000771104122913962.jar
An error occurred while processing the signatures for the file: /var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile1000771104122913962.jar
Problems downloading artifact: osgi.bundle,org.eclipse.draw2d,3.10.100.201605020204.
Error reading signed content:/var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile8525447578852796584.jar
An error occurred while processing the signatures for the file: /var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile8525447578852796584.jar
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.eclipse.gef,3.11.0.201605020204.
Error reading signed content:/var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile2832543910186645793.jar
An error occurred while processing the signatures for the file: /var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile2832543910186645793.jar
Problems downloading artifact: osgi.bundle,org.eclipse.gef,3.11.0.201605020204.
Error reading signed content:/var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile3899147127673910466.jar
An error occurred while processing the signatures for the file: /var/folders/0w/j9d33fsd0dn1xncjsm6vypjm0000gn/T/signatureFile3899147127673910466.jar

编辑似乎这些是正确版本的依赖项,我在网上找到了它们,但我一直在手动导入它们。

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.common_core.feature,3.3.1.v201107190400-7B7DFO5F7RZHOeJ-SxQ1NJ
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.common_ui.feature,3.3.1.v201107190400-7C79FULEdhO_pfuh6nYekfK0TyR2OK
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.jsdt.feature,1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.server_core.feature,3.3.1.v20110729_1216-30FBc8s73553F5Ia2828
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.server_ui.feature,3.3.1.v20110714_1706-7B77FGPAtJceyEUOhPIXVJNjBF39
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.web_core.feature,3.3.1.v201107190400-7E7EFMWAJun8_t84-MOI-iP7cRb5srz
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.web_ui.feature,3.3.1.v201107072200-7O7IFhREMiB5vNoYqf01XHTvUndyz-yx-9kUyXXL
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.xml_core.feature,3.3.1.v201108102009-7C7OFeKF7RZHQNI3R-OuRb
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.xml_ui.feature,3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL

功能org.eclipse.wst.*属于Web工具,您应该下载Eclipsev3.7.x的3.3.x版本
WebTools需要EMF/XSDKv2.7.x和GEFSDKv3.7.x,所以您也必须安装它们。根据下载的文件,有两种安装它们的解决方案。

A) 安装传统Zip文件多功能一体式SDK的步骤:

  1. 将下载的文件解压缩到$ECLIPSE_HOME/dopins下的文件夹
  2. 重新启动Eclipse

您可以将所有zip解压缩到一个文件夹或不同的文件夹。例如:解压到webtoolsgef文件夹,文件夹结构应为:

$ECLIPSE_HOME/
dropins/
webtools/
eclipse/
features/
plugins/
gef/
eclipse/
features/
plugins/

B) 以压缩格式文件安装P2存储库多功能一体更新站点的步骤:

  1. 将下载的文件解压缩到本地磁盘。(artifacts.jarcontent.jar可以在根文件夹中找到)
  2. 在Eclipse中,选择菜单项Help >Install New Software...单击Add...按钮和Local...按钮以选择前面步骤中的文件夹
  3. 单击"下一步"按钮,接受许可协议,直到安装完成

注意:EMF/XSD SDK v2.7.1的下载链接无效。如果(专有)插件在Eclipse v3.7.2上工作,我建议您安装这个版本。

最新更新