【问题标题】:Question on installing eclipse plugin关于安装eclipse插件的问题
【发布时间】:2011-07-01 03:48:03
【问题描述】:

前几天我遇到了这个 SO 问题:Bash script plugin for Eclipse?,这个想法很棒。

所以我去下载站点下载了这个插件,但我没有手动安装任何 eclipse 插件,所以我真的不知道如何安装。

我解压了我下载的这个 zip 文件,它看起来像这样:

接下来我该怎么做,如何安装这个插件?谢谢

当我尝试使用从本地目录安装新软件来安装它时,我收到此错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
  Missing requirement: ShellEd UI 0.0.0.201007201532 (net.sourceforge.shelled.ui 0.0.0.201007201532) requires 'bundle org.eclipse.dltk.launching [2.0.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
    To: net.sourceforge.shelled.ui [0.0.0.201007201532]

问题 2:

Cannot complete the install because one or more required items could not be found.
  Software being installed: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
  Missing requirement: ShellEd UI 0.0.0.201007201532 (net.sourceforge.shelled.ui 0.0.0.201007201532) requires *'bundle org.eclipse.linuxtools.man 0.0.0'* but it could not be found
  Cannot satisfy dependency:
    From: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
    To: net.sourceforge.shelled.ui [0.0.0.201007201532]

不知道是什么意思

【问题讨论】:

    标签: java eclipse eclipse-plugin


    【解决方案1】:

    将完整的文件夹 (ShellEd-Update-2.0.0_M3) 复制到 eclipse/dropins。您应该从目标位置删除 site.xml 文件 - 我认为这仍然是必要的 - 查看 features 文件夹并提取所有 *.jar 文件(文件夹名 = jar 文件名)。

    但您也应该能够从本地 zip 文件源安装插件。 “安装新软件”对话框应该有一个选项...


    为了澄清 - 当然,手动安装不推荐。尽管 OSGi 非常健壮并且 eclipse 不会崩溃,但您可能会遇到缺少依赖项的问题。最坏的情况:插件不会安装(从 OSGi 的角度来看)。因此,如果可能,请使用“安装新软件”并从供应商的 Internet 页面安装插件。如果不可能:手动安装,解压缩功能文件夹中的 jar,如果仍然无法正常工作:使用 -console 选项启动 eclipse 并检查已安装插件的状态。如果插件没有启动以及原因,OSGi 会告诉您。


    错误消息:bash 插件依赖于另一个名为 ShellEd 的插件(版本:2.0.0.201007201532)。看起来它不包含在 bash 发行版中,因此您必须先安装它(或与 bash 一起安装)。

    你可以在这里找到它:ShellEd


    这也是必需的:Dynamic language toolkit(2.0 和 3.0 之间的任何版本)。这是提示:bundle org.eclipse.dltk.launching

    【讨论】:

    • -1 表示此建议。这将在 99% 的情况下失败,因为没有解决依赖关系。唯一有效的方法是通过更新 UI 或命令行安装它,请参阅help.eclipse.org/helios/index.jsp?topic=/… dropins 文件夹用于安装插件和功能,但不适用于更新站点,这是一个更新站点 :)
    • @Tom - 这是一种解决方法,我经常在无法访问互联网的环境中这样做,并且插件提供商只提供存档更新站点......不推荐,当然可以,但是您可以使用更新站点的内容并手动“安装”它。当然 - 您还必须手动解决缺少的依赖项。
    • 感谢您的回复,我已经下载了那个,我正在尝试安装它,这个:sourceforge.net/projects/shelled/files/shelled/…,我更新了我的问题我没有看到完整的错误到现在。谢谢
    • 现在我有这个问题bundle org.eclipse.linuxtools.man 0.0.0 我在哪里可以得到这个?我已经更新了我的问题。谢谢
    【解决方案2】:

    打开 Eclipse。帮助->安装新软件。 添加一个新站点,该站点应该是本地的并指向上面显示的目录。 安装它提供的功能。 (其中一些选项在 Eclpse 版本中略有不同,我使用的是 3.6.1,这就是它们在那里的命名方式。)

    【讨论】:

    【解决方案3】:
    【解决方案4】:

    我刚刚使用 Drop-ins 成功安装了它。这取决于 DLTK 和 linux 工具手册页插件。

    要安装 int Eclipse 3.6 Helios,请帮助 > 安装新软件:

    【讨论】:

      【解决方案5】:

      这在 Indigo 中对我有用

      1. 从市场安装 DLTK Core
      2. 从以下位置安装 LinuxTools 手册页插件:http://download.eclipse.org/technology/linuxtools/update
      3. https://downloads.sourceforge.net/project/shelled/shelled/ShellEd%202.0.1/update 安装 ShellEd

      【讨论】:

      猜你喜欢
      • 2011-01-23
      • 2011-11-17
      • 2012-11-21
      • 1970-01-01
      • 1970-01-01
      • 2011-04-22
      • 2011-07-11
      • 2013-01-11
      • 2012-01-27
      相关资源
      最近更新 更多