【问题标题】:Eclipse P2 - touchpoint for the collect action is not includedEclipse P2 - 不包括收集操作的接触点
【发布时间】:2012-07-29 15:53:24
【问题描述】:

每当我尝试在我的 rcp 应用程序中安装 Eclipse Platform Launchers 功能时,我的 RCP 应用程序中都会出现此错误。

我正在安装的功能 ID:org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ

!ENTRY org.eclipse.equinox.p2.engine 4 4 2012-07-31 14:59:58.501
!MESSAGE An error occurred while collecting items to be installed
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-07-31 14:59:58.501
!MESSAGE session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=null --> [R]org.eclipse.equinox.executable_root.gtk.linux.x86_64 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ, action=).
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-07-31 14:59:58.501
!MESSAGE The required Touchpoint: org.eclipse.equinox.p2.native 1.0.0 touchpoint for the collect action is not included in the installation manager configuration.
!STACK 0
java.lang.IllegalArgumentException: The required Touchpoint: org.eclipse.equinox.p2.native 1.0.0 touchpoint for the collect action is not included in the installation manager configuration.
    at org.eclipse.equinox.internal.p2.engine.ActionManager.getTouchpointQualifiedActionId(ActionManager.java:58)
    at org.eclipse.equinox.internal.p2.engine.phases.Collect.getActions(Collect.java:54)
    at org.eclipse.equinox.internal.p2.engine.InstallableUnitPhase.getActions(InstallableUnitPhase.java:77)
    at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:115)
    at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:78)
    at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:44)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
    at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:174)
    at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
    at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

【问题讨论】:

    标签: eclipse equinox p2


    【解决方案1】:

    您应确保将“org.eclipse.equinox.p2.touchpoint.natives”及其依赖项打包在您的应用程序中。

    【讨论】:

    • 如果有人在关注 Lars Vogel 网站上的 RCP p2 教程,这是他错过的内容,需要包含在教程中才能正常工作,至少在 Eclipse 4.3.1 (Kepler) 中是这样。跨度>
    猜你喜欢
    • 2016-09-28
    • 2017-12-27
    • 1970-01-01
    • 1970-01-01
    • 2011-04-24
    • 2016-02-27
    • 1970-01-01
    • 2019-08-05
    • 1970-01-01
    相关资源
    最近更新 更多