且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“无法获取应用程序服务”;启动使用Tycho构建的Eclipse应用程序时出现错误

更新时间:2023-09-15 12:23:34

这是产品我的 E4入门指南中的a>:

Here’s the product from my E4 beginner’s guide book:

<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4"/>
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2"/>
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2"/>
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1"/>

在大多数情况下,您需要运行这些产品。

Those are the ones that you will need to get running for the product in most cases.

simpleconfigurator是负责读取bundles.info并显示所有内容的包-本质上是预先填充包并恢复启动/运行状态。

The simpleconfigurator is the bundle responsible for reading the bundles.info and bringing everything up - essentially pre-filling the bundles and restoring the started/running state.

ds捆绑包启动声明式服务(更多捆绑包正在使用)。

The ds bundle starts declarative services (which more bundles are using).

equinox.common提供IAdapterManager服务并注册平台: URL处理程序(因此捆绑包可以引用 platform:/org.eclipse.equinox.common/about.html 之类的内容)。

The equinox.common provides the IAdapterManager service and registers the platform: URL handler (so bundles can refer to content like platform:/org.eclipse.equinox.common/about.html).

core.runtime提供了首选项服务和首选项存储。

The core.runtime provides the preference service and the preference store.

希望有帮助!