eclipse 关于安装eclipse插件的问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5064250/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:50:22  来源:igfitidea点击:

Question on installing eclipse plugin

javaeclipseeclipse-plugin

提问by London

The other day I came accross this SO question : Bash script plugin for Eclipse?, the idea is great.

前几天我遇到了这个问题:Eclipse 的 Bash 脚本插件?,这个想法很棒。

So I went to the download site downloaded this plugin but I didn't install any eclipse plugin manually so I don't really have a clue how to install one.

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

I extracted this zip file I downloaded and it looks like this :

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

enter image description here

在此处输入图片说明

What should I do next, how do I install this plugin ? thank you

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

When I try to install it using install new software from local dir I get this error :

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

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]

PROBLEM 2 :

问题 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]

I don't know what it means

我不知道这是什么意思

采纳答案by Andreas Dolk

Copy the complete folder (ShellEd-Update-2.0.0_M3) to eclipse/dropins. You should remove the site.xml file from the destination location and - I think it's still necessary - look into the features folder and extract all *.jar files (folder name = jar file name).

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

But you should be able to install the plugin from a local zip file source too. The "install new software" dialog should have an option...

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



For clarification - of course, manual installation is not recommended. You may have trouble with missing dependencies, although OSGi is pretty robust and eclipse won't crash. Worst case: the plugin will not install (from an OSGi perspective). So if possible, use "install new software" and install plugins from the vendors internet page. If not possible: manual install, unzip the jars in feature folder and, if it still doesn't work: start eclipse with the -consoleoption and check the status of the installed plugins. OSGi will tell you, if a plugin didn't start and why.

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



The error message: The bashplugin depends on another plugin named ShellEd(Version: 2.0.0.201007201532). Looks like it is not included in the bashdistribution and so you'll have to install it first (or together with bash).

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

You can find it here: ShellEd

你可以在这里找到它:ShellEd



This one is also required: Dynamic language toolkit(any version between 2.0 and 3.0). This was the hint: bundle org.eclipse.dltk.launching

这也是必需的:动态语言工具包(2.0 和 3.0 之间的任何版本)。这是提示:bundle org.eclipse.dltk.launching

回答by James Blackburn

I just successfully installed this using Drop-ins. It depends on DLTK & the linux tools man page plugin.

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

To install int Eclipse 3.6 Helios, Help > Install New Software:

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

回答by katsharp

Open Eclipse. Help->Install new software. Add a new site, which should be local and point to your directory shown above. Install the features it offers. (Some of these options differ slightly in versions of Eclpse, I'm using 3.6.1 and that's how they are named there.)

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

回答by Debashis Saha

This is what worked for me in Indigo

这就是 Indigo 对我有用的方法

  1. Install DLTK Core from market place
  2. Install the LinuxTools Man Page plugin from: http://download.eclipse.org/technology/linuxtools/update
  3. Install ShellEd from https://downloads.sourceforge.net/project/shelled/shelled/ShellEd%202.0.1/update
  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