繁体   English   中英

Eclipse EMF RAP目标组件

[英]Eclipse EMF RAP Target Components

大家好

我正在尝试运行带有EMF支持的Eclipse RAP应用程序。 遵循Eclipse Wiki( https://wiki.eclipse.org/RAP/EMF_Integration )中的步骤(尽可能地早于四年前),我将以下软件包放入目标定义中:

  • EMF RAP目标组件
  • RAP基本春分目标
  • RAP运行时

这给了我以下目标定义:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="SCRAMSTargetDefinition" sequenceNumber="17">
    <locations>
        <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
            <unit id="org.eclipse.emf.rap.sdk.feature.group" version="2.13.0.v20170609-0928"/>
            <unit id="org.eclipse.rap.equinox.target.feature.feature.group" version="3.2.0.20170613-1148"/>
            <unit id="org.eclipse.rap.feature.feature.group" version="3.2.0.20170609-1144"/>
            <repository location="http://download.eclipse.org/releases/oxygen/"/>
        </location>
    </locations>
</target>

但是目标无法解决,给了我以下依赖错误:

Problems occurred while resolving the target contents
    Cannot complete the install because one or more required items could not be found.
        Cannot satisfy dependency:
            From: EMF RAP Runtime 2.13.0.v20170609-0928 (org.eclipse.emf.rap.feature.group 2.13.0.v20170609-0928)
            To: org.eclipse.emf.rap.edit.ui.feature.group [2.9.0.v20170609-0928]
        Cannot satisfy dependency:
            From: EMF RAP Target Components  2.13.0.v20170609-0928 (org.eclipse.emf.rap.sdk.feature.group 2.13.v20170609-0928)
            To: org.eclipse.emf.rap.feature.group [2.13.0.v20170609-0928]
        Missing requirement: EMF RAP Edit UI 2.9.0.v20170609-0928 (org.eclipse.emf.rap.edit.ui.feature.group 2.9.0.v20170609-0928) requires 'A.PDE.Target.Platform Cannot be installed into the IDE 0.0.0' but it could not be found
        Software being installed: EMF RAP Target Components 2.13.0.v20170609-0928 (org.eclipse.emf.rap.sdk.feature.group 2.13.0.v20170609-0928)

内置A.PDE.Target.Platform无法安装到IDE 0.0.0中 ,这似乎是核心问题-但这是目标定义,而不是IDE本身,因此我不明白为什么会这样用这种方式抱怨。

我尝试将其他EMF软件包的组合包含到“目标定义”中,但没有任何帮助。 任何指导将不胜感激。

我在Eclipse论坛中找到了答案:

将更新站点添加到目标定义时,必须禁用“ 包括所需的软件”选项。 这等效于将includeModeplanner slicer切换到slicer 除此之外,您可能需要启用“ 包括所有环境”选项(将includeAllPlatforms设置为true )。

请注意,所有位置的这些设置都必须相同(如果目标定义包括多个位置/更新站点)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM