Eclipse RCP: Target platform - Eclipse vs. Equinox?(Eclipse RCP:目标平台 - Eclipse 与 Equinox?)
问题描述
我刚开始使用 OSGi 和 Eclipse RCP.在创建新的 Eclipse 插件项目时,有人可以向我解释Eclipse"和Equinox"作为目标平台的区别吗?
我还是知道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
- Vogalla's RCP Tutorial
- Vogella's OSGi with Eclipse Equinox
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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse RCP:目标平台 - Eclipse 与 Equinox?
基础教程推荐
- 降序排序:Java Map 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01