【问题标题】:Error importing/installing proprietary plugins - Eclipse导入/安装专有插件时出错 - Eclipse
【发布时间】:2016-09-23 07:36:56
【问题描述】:

我这两天一直在尝试通过“安装新软件”导入一些(专有)插件。
我还尝试在 Windows(设法这样做)和 Mac OS(失败并出现以下错误)上安装插件,现在我正在尝试将所有插件从 Windows Eclipse 安装导入到 Mac OS。

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

  • 需要 Eclipse 3.7 版(我无法让特定插件在高于此版本的任何东西上运行)
  • Windows 7 / Mac OS Yosemite

我尝试并失败并出现以下错误:

  • 从 .jar 安装程序安装
  • 从 .p2f 导入(文件->安装程序->导出/导入)
  • 从现有的 Eclipse 安装导入
  • 将插件文件夹内容从 Windows 复制到 Mac OS

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

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

【问题讨论】:

  • 这些插件的构建日期都是这个月,我怀疑它们是否可以与 5 岁的 Eclipse 3.7 一起使用。
  • 有什么解决方法吗?
  • 可能与在 Eclipse Juno 包 (3.8/4.0) 中修复的 bugs.eclipse.org/bugs/show_bug.cgi?id=378155 相关

标签: eclipse macos eclipse-plugin installation


【解决方案1】:

org.eclipse.wst.* 功能属于 Web 工具,您应该下载 version 3.3.x 用于 Eclipse v3.7.x
Web 工具 需要 EMF/XSD SDK v2.7.xGEF SDK v3.7.x,所以你也必须安装它们。根据下载的文件,有两种安装方案。

A) Traditional Zip FilesAll-In-One SDK 的安装步骤:

  1. 将下载的文件解压到 $ECLIPSE_HOME/dropins 下的文件夹中
  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,我建议您安装此版本。

【讨论】:

  • 在我测试完这个之后,我会在星期一回来找你。感谢您的回答!
猜你喜欢
  • 2013-05-25
  • 2013-06-10
  • 2016-03-12
  • 2012-08-25
  • 2020-10-20
  • 1970-01-01
  • 1970-01-01
  • 2017-06-07
  • 2012-10-11
相关资源
最近更新 更多