“添加所需的插件” Eclipse RCP产品配置中的“按钮”? [英] "Add Required Plug-ins" button in Eclipse RCP product configuration?

查看:133
本文介绍了“添加所需的插件” Eclipse RCP产品配置中的“按钮”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Eclipse RCP中进行产品配置时,我不太了解是什么插件构成了依赖关系列表,添加所需的插件按钮到底有什么作用?为什么依赖性列表从一开始就不完整,为什么我必须使用该按钮?



谢谢。

解决方案

在开发RCP应用程序时,您指定:




  • 没有足够的插件(即

  • 和/或很多插件(即,您依赖于eclipse提供的某些插件,即使您不会全部使用它们)



为了启动您的 RCP应用程序作为独立应用程序,添加所需的插件使您可以验证(即仅选择实际需要的正确数量的插件)您的运行时配置。 / p>

替代文本http://www.vogella。 de / articles / RichClientPlatform / images / launchconfiguration30.gif


这有助于解决以下错误:




  • 未解决一个或多个捆绑,因为未解决以下根约束或

  • java.lang.RuntimeException:找不到应用程序ID。 / li>

不;您可以验证插件,以检查启动配置 之前是否真正启动。


I don't quite understand what plug-ins constitue the list Dependencies when I make a product configuration in Eclipse RCP and what does the button "Add Required Plug-ins" exactly do? Why the Dependencies list is not full from the very beginning and why I have to use that button?

Thank you.

解决方案

When you develop your RCP application, you specify:

  • not enough plugins (i.e. only the one you need to compile, but not their runtime dependencies)
  • and/or too many plugins (i.e. you depends on some provided by eclipse, even though you do not use them all)

In order to launch your RCP application as a standalone application, the "Add Required Plug-ins" allows you to validate (i.e. select only the right amount of plugins you actually need) your runtime configuration.

alt text http://www.vogella.de/articles/RichClientPlatform/images/launchconfiguration30.gif

That helps to solve errors like:

  • "One or more bundles are not resolved because the following root constraints are not resolved" or
  • "java.lang.RuntimeException: No application id has been found."

Not; you can validate your plugins in order to check that launching configuration before actually launching it.

这篇关于“添加所需的插件” Eclipse RCP产品配置中的“按钮”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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