在 Eclipse Helios 中安装 ShellEd 插件时出现问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5324471/
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-10 20:03:46  来源:igfitidea点击:

Problem installing ShellEd plugin in Eclipse Helios

eclipseshelleclipse-plugin

提问by kms333

When I try to install ShellED plugin for Eclipse:

当我尝试为 Eclipse 安装 ShellED 插件时:

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 Core 0.0.0.201007201532 (net.sourceforge.shelled.core 0.0.0.201007201532) requires 'bundle org.eclipse.dltk.core [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.core [0.0.0.201007201532]

无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97) 缺少要求 ShellEd .070.0.10.0.0.10.0.0.10.0.0.10.0.0shellcore20.070.0720.0.0.0.10shellcore20.0shell 0.201007201532) 需要 'bundle org.eclipse.dltk.core [2.0.0,3.0.0)' 但找不到它不能满足依赖:来自:ShellEd 2.0.0.201007201532-1--773533H735D97 feature.group 2.0.0.201007201532-1--773533H735D97) 至:net.sourceforge.shelled.core [0.0.0.201007201532]

Could not install org.eclipse.dltk.core? Do you know where to find it?

无法安装 org.eclipse.dltk.core?你知道在哪里可以找到吗?

回答by Kamikaze

I have found http://www.chasetechnology.co.uk/eclipse/updatesto be easier to install
After installing Linux Man page, install ShellEd from the above link.

我发现http://www.chasetechnology.co.uk/eclipse/updates更容易安装
安装 Linux 手册页后,从上面的链接安装 ShellEd。


go Help => install new software => Add 
Name: ShellEd 
Location: http://www.chasetechnology.co.uk/eclipse/updates

Restart eclipse
close and reopen andy shell file and voala syntax highlighing will be there!!!
Note that ShellEd does not create a new Perspective though.
But *.sh, *.bash, *.csh, *.ksh and few other sh file extentions are associated to ShellEd.
Enjoy!!!

重启 eclipse
关闭并重新打开 andy shell 文件和 voala 语法高亮将在那里!!!
请注意,尽管 ShellEd 不会创建新的 Perspective。
但是 *.sh、*.bash、*.csh、*.ksh 和少数其他 sh 文件扩展名与 ShellEd 相关联。
享受!!!

回答by Kamikaze

go Help => install new software => Available Software sites
Remove http://download.eclipse.org/technology/linuxtools/update/
restart eclipse
go Help => install new software => Add

去帮助 => 安装新软件 => 可用的软件站点
删除http://download.eclipse.org/technology/linuxtools/update/
restart eclipse
去帮助 => 安装新软件 => 添加


Name: Linuxtool
Location: http://download.eclipse.org/technology/linuxtools/update
Select     Man Page Viewer (Incubation) 0.0.1.201102160611

you can now install shelled jar file

您现在可以安装带壳的 jar 文件

回答by zhihong

When I install newest ShellEd in eclipse Indigo, I got error like this:

当我在 eclipse Indigo 中安装最新的 ShellEd 时,出现如下错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: ShellEd 2.0.2 (net.sourceforge.shelled.feature.group 
2.0.2)Missing requirement: ShellEd Core Plug-in 2.0.0.201207181255
 (net.sourceforge.shelled.core 2.0.0.201207181255) requires 'bundle
 org.eclipse.dltk.core [4.0.0,5.0.0)' but it could not be found.

We can know that it needs version 4 of Dynamic Languages Toolkit: org.eclipse.dltk.core [4.0.0,5.0.0), but it is possible that in indigo, version 3 is already installed (my case), and when I install lightly-build vertion 4 using url(http://download.eclipse.org/technology/dltk/updates-dev/4.0-nightly/), it said only one core can be installed at once, which means eclipse will not update the version itself. So I uninstalled version 3 and install version 4, then ShellEd can be installed.

我们可以知道它需要 Dynamic Languages Toolkit 的第 4 版:org.eclipse.dltk.core [4.0.0,5.0.0),但有可能在 indigo 中已经安装了第 3 版(我的情况),当我使用url(http://download.eclipse.org/technology/dltk/updates-dev/4.0-nightly/)安装lightly-build vertion 4 ,它说一次只能安装一个核心,这意味着eclipse不会更新版本本身。所以我卸载了版本3,安装了版本4,然后就可以安装ShellEd了。

回答by heathbar

Here is a command line to install the ShellEd plugin (tested on ubuntu 12.04, eclipse Indigo):

这是安装 ShellEd 插件的命令行(在 ubuntu 12.04、eclipse Indigo 上测试):

eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/indigo/,http://download.eclipse.org/technology/dltk/updates-dev/4.0-nightly/,https://downloads.sourceforge.net/project/shelled/shelled/ShellEd%202.0.2/update -installIU net.sourceforge.shelled.feature.group

If it fails, you may have an older version of dltk already installed that must be removed so that it will pull in the newer version from the dltk nightly builds repo.

如果失败,您可能已经安装了旧版本的 dltk,必须将其删除,以便它从 dltk nightly builds repo 中提取新版本。

回答by Konstantin Komissarchik

Make sure that you are using Eclipse Helios release. The referenced dltk plugin released version 2.0 as part of Helios, so this ShellED plugin will not work on an earlier version of Eclipse. If you are using Helios, make sure that the "contact all update sites [etc]" checkbox in the install software dialog is checked. With this option enabled, Eclipse should be able to find the dependency.

确保您使用的是 Eclipse Helios 版本。引用的 dltk 插件作为 Helios 的一部分发布了 2.0 版,因此此 ShellED 插件将无法在早期版本的 Eclipse 上运行。如果您使用的是 Helios,请确保选中安装软件对话框中的“联系所有更新站点 [等]”复选框。启用此选项后,Eclipse 应该能够找到依赖项。

DLTK: http://www.eclipse.org/dltk/

DLTK:http: //www.eclipse.org/dltk/

回答by Subba Reddy

Probably, somebody still looking for solution around it for eclipse 3.5 or 3.6, then, ShellEd 1.0.4 version can be installed easily:

可能有人仍在为 eclipse 3.5 或 3.6 寻找解决方案,然后,可以轻松安装 ShellEd 1.0.4 版本:

  1. Unzip the ShellEd1_0_4.zip
  2. create a directory named ShellEd in eclipse >> dropins folder
  3. move the unzipped directories (plugins, features) into eclipse >> dropins >> ShellEd
  4. re/start the eclipse (onetime with -clean option)
  5. these steps allows to make ShellEd1.0.4 version only, though, 2.0.0, 2.0.1, 2.0.M3 still does not work.
  1. 解压 ShellEd1_0_4.zip
  2. 在 eclipse >> dropins 文件夹中创建一个名为 ShellEd 的目录
  3. 将解压后的目录(插件、功能)移动到 eclipse >> dropins >> ShellEd
  4. 重新/启动日食(一次性使用 -clean 选项)
  5. 这些步骤只允许制作 ShellEd1.0.4 版本,但 2.0.0、2.0.1、2.0.M3 仍然不起作用。

Pre required plugins:

预先需要的插件:

  1. Linux tools: Linux Man page viewer install using http://download.eclipse.org/technology/linuxtools/update

  2. dltk (if its not available by default) install using http://download.eclipse.org/technology/dltk/updates

  1. Linux 工具:使用http://download.eclipse.org/technology/linuxtools/update安装 Linux 手册页查看器

  2. dltk(如果默认情况下不可用)使用http://download.eclipse.org/technology/dltk/updates安装

回答by Nag

This worked fine for me ..from the ShellED documentation. No other plugin was required

这对我来说很好用……来自 ShellED 文档。不需要其他插件

Using the update site

使用更新站点

Use the regular install method with the following update site link https://downloads.sourceforge.net/project/shelled/shelled/ShellEd%202.0.2/update

使用带有以下更新站点链接的常规安装方法https://downloads.sourceforge.net/project/shelled/shelled/ShellEd%202.0.2/update