前几天我遇到了这个问题: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]
我不知道这意味着什么
答案 0 :(得分:8)
我刚刚使用Drop-ins成功安装了它。这取决于DLTK& linux工具手册页插件。
安装Eclipse 3.6 Helios,帮助>安装新软件:
答案 1 :(得分:4)
将完整文件夹(ShellEd-Update-2.0.0_M3)复制到eclipse / dropins。您应该从目标位置删除site.xml文件,并且 - 我认为仍然需要 - 查看features文件夹并提取所有* .jar文件(文件夹名称= jar文件名)。
但您也应该能够从本地zip文件源安装插件。 “安装新软件”对话框应该有一个选项...
为了澄清 - 当然,手动安装不推荐。虽然OSGi非常强大且eclipse不会崩溃,但您可能会遇到缺少依赖项的问题。最坏的情况:插件不会安装(从OSGi的角度来看)。因此,如果可能,请使用“安装新软件”并从供应商网页安装插件。如果不可能:手动安装,解压缩feature文件夹中的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
答案 2 :(得分:4)
打开Eclipse。帮助 - >安装新软件。 添加一个新站点,该站点应该是本地站点并指向上面显示的目录。 安装它提供的功能。 (其中一些选项在Eclpse版本中略有不同,我使用的是3.6.1,这就是它们在那里命名的方式。)
答案 3 :(得分:3)
答案 4 :(得分:2)
这在Indigo中对我有用