Eclipse-如何设置插件运行配置以在自定义Eclipse RCP中运行它? [英] Eclipse - how to setup plugin run configuration to run it inside custom Eclipse RCP?

查看:154
本文介绍了Eclipse-如何设置插件运行配置以在自定义Eclipse RCP中运行它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您在Eclipse中创建新的插件项目时,可以将其作为Eclipse应用程序运行(例如,新的Eclipse实例将从默认包含的该插件开始)。

When you create new Plug-in project inside Eclipse, you can run it as Eclipse Application (eg. new Eclipse instance will start with that plugin included by default).

我需要启动该插件,但要使用我自己的Eclipse RCP应用程序(我在工作区中有其他项目)。

I need start that plugin but in instance of my own Eclipse RCP app (which i have as other project in my workspace).

有可能吗?

推荐答案

打开运行>运行配置 ,然后找到RCP应用程序的配置(在 Eclipse应用程序下)

Open 'Run > Run Configurations' and find the configuration for your RCP application (under 'Eclipse Application')

查看插件标签。

如果将启动方式:设置为所有工作区并启用了目标插件,则说明您的插件已经包含在内。

If the 'Launch with:' is set to 'all workspace and enabled target plugins' your plugin is already being included.

如果启动方式:设置为仅在下面选择了插件,请选择要包括的插件(如果尚未选择)。

If the 'Launch with:' is set to 'plug-ins selected below only' select the plugin you want to include if it is not already selected.

这篇关于Eclipse-如何设置插件运行配置以在自定义Eclipse RCP中运行它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆