Eclipse RCP:目标平台 - Eclipse与Equinox? [英] Eclipse RCP: Target platform - Eclipse vs. Equinox?
问题描述
有人向我解释Eclipse和Equinox之间的差异,作为目标平台,当创建一个新的eclipse插件项目?
我仍然知道Equinox是Eclipse的OSGi的实现。
我读到一些文章,eclipse rcp也是基于Equinox的。那么您必须在新的Eclipse插件项目中选择的目标平台之间的区别在哪里?
最好的问候
这是关于你将要创建的模块将运行的环境:看到这个
- :
Equinox OSGi框架实现构成了Eclipse RCP和IDE平台的基础,但实际上它完全是独立的OSGi实现。
您可以独立于Eclipse运行捆绑包:
java -jar org.eclipse .osgi_3.2.0.jar -console
一旦这个运行,你将请参阅
osgi>
提示。这是OSGi控制台等待您键入命令
I'm just starting with OSGi and Eclipse RCP. Could someone explain to me the difference between "Eclipse" and "Equinox" as the target platform, when creating a new eclipse plugin project?
I still know that Equinox is Eclipse's implementation of OSGi.
I read in some articles that eclipse rcp is also based on Equinox. So where is the difference between the target platform you have to choose in a new Eclipse Plugin Project?Best regards
解决方案It is about the environement in which the module you will be creating will run: see this
Eclipse Equinox is the runtime environment on which the Eclipse IDE and Eclipse RCP application are based.
In Eclipse the smallest unit of modularization is a plugin. The terms plugin and bundle are (almost) interchangable. An Eclipse plugin is also an OSGi bundle and vice versa.- bundle for OSGi, able to run in the Equinox framework (within or outside of Eclipse)
- plugin for Eclipse, to run within an Eclipse-based application.
See Equinox Quick Start Guide:
The Equinox OSGi framework implementation forms the underpinnings of the Eclipse RCP and IDE platforms but it is in fact a fully standalone OSGi implementation.
You can run a bundle independently from Eclipse:
java -jar org.eclipse.osgi_3.2.0.jar -console
Once this is running you will see an
osgi>
prompt. This is the OSGi console waiting for you to type commands这篇关于Eclipse RCP:目标平台 - Eclipse与Equinox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!