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

时间:2016-05-25 15:25:35

标签: eclipse macos eclipse-plugin installation

我已经尝试了两天,通过"安装新软件"导入一些(专有)插件。
我还尝试在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

1 个答案:

答案 0 :(得分:1)

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

A)安装传统Zip文件多合一SDK 的步骤:

  1. 将下载的文件解压缩到 $ ECLIPSE_HOME / dropins
  2. 下的文件夹
  3. 重启Eclipse
  4. 您可以将所有拉链解压缩到一个文件夹或不同文件夹。例如:解压缩到文件夹 webtools gef ,文件夹结构应为:

    $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. 单击“下一步”按钮,接受许可协议,直到安装完成。
    4. 注意:EMF / XSD SDK v2.7.1的下载链接无效。如果(专有)插件适用于Eclipse v3.7.2,我建议您安装此版本。