Eclipse:缺少 Eclipse 应用程序启动配置

2022-01-16 00:00:00 eclipse-plugin eclipse

我想在eclipse的Run/Debug Configuration中选择一个Eclipse Application Launch配置来运行一个eclipse插件,但是它不存在.

如何在运行/调试配置中添加 Eclipse 应用程序启动配置.我正在为 Java 开发人员使用 Eclipse Luna IDE.

解决方案

您缺少创建 Eclipse 应用程序所需的 Eclipse Project SDK.没有它,你会注意到例如这些问题:

  • 运行/调试配置缺少Eclipse 应用程序"类别(如您所述)
  • Windows/Preferences 对话框缺少插件开发"类别
  • 为Eclipse Applications"导入启动配置将无效.

您像这样安装 Eclipse Project SDK:

  • 帮助/安装新软件...
  • 选择安装存储库.对于 Eclipse Oxygen,它是 "Oxygen -

    I want to choose an Eclipse Application Launch configuration in the Run/Debug Configuration of eclipse, for running an eclipse plugin, but it doesnt exists.

    How can I add the Eclipse Application Launch configurations in the run/debug configurations. I'm using Eclipse Luna IDE for Java Developers.

    解决方案

    You are missing the Eclipse Project SDK, which is needed to create Eclipse Applications. Without it, you will notice for example these problems:

    • The Run/Debug configuration is missing a category "Eclipse Applications" (as you mentioned)
    • The Windows / Preferences dialog is missing a category "Plug-in Development"
    • Importing launch configurations for "Eclipse Applications" will have no effect.

    You install the Eclipse Project SDK like this:

    • Help / Install New Software...
    • Choose the installation repository. In case of Eclipse Oxygen, it is "Oxygen - http://download.eclipse.org/releases/oxygen"
    • Filter for Eclipse Project SDK
    • Check it & press "Finish"

相关文章