如何在 Indigo (3.7) 上安装 Eclipse PDE

我刚刚使用最新版本 (Indigo/3.7) 重新安装了 eclipse,但遇到了与半年前完全相同的问题.我安装了eclipse java IDE,现在如何让插件开发环境(PDE)工作?

I just re-installed eclipse, using the latest version (Indigo / 3.7), and I run into the exact same problem as I did half a year ago. I installed the eclipse java IDE, now how do I get the plugin development enviroment (PDE) working?

我已按照上一个问题安装了 RCP 组件:如何安装eclipse PDE?

I've installed the RCP components as in my previous question: How do I install eclipse PDE?

尽管 RCP 组件的安装按预期完成,但不知何故未启用.我无法创建 OSGi 运行配置,首选项对话框中没有目标平台条目,也没有将项目转换为插件的选项.

Although installation of the RCP components completes as expected, it's somehow not enabled. I can't create OSGi run configurations, there is no Target Platform entry in the preferences dialog, and there is no option to convert a project to a plug-in.

我需要安装其他东西吗?我需要做些什么来手动启用 PDE?

Do I need to install something else? Is there anything I have to do to manually enable the PDE?

推荐答案

如果您下载了面向 Java 开发人员的 Eclipse IDE,那么您将不会预装 PDE.它包含在 Eclipse Classic 下载中.获取 PDE 的最简单方法是:

If you downloaded the Eclipse IDE for Java Developers then you will not have PDE pre-installed. It is included in the Eclipse Classic download. The simplest way to obtain PDE is:

  1. 在菜单中转到帮助 --> 安装新软件.
  2. 在可用软件"对话框中,从使用"下拉菜单中选择 Indigo 站点 (http://download.eclipse.org/releases/indigo).
  3. 在搜索框中输入短语Plug-in",这应该会过滤列表,以便您可以看到 Eclipse 插件开发环境.
  4. 单击复选框并完成并安装.

在第 3 步中,您还可以通过展开通用工具"然后向下滚动到 Eclipse 插件开发环境来获得它.

In step 3 you can also get to it by expanding "General Purpose Tools" and then scrolling down to Eclipse Plug-in Development Environment.

相关文章