首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Eclipse EMF RAP目标组件

Eclipse EMF RAP目标组件
EN

Stack Overflow用户
提问于 2017-09-09 15:06:52
回答 1查看 270关注 0票数 1

大家好,

我正在尝试使用EMF支持运行Eclipse应用程序。按照Eclipse (集成)的步骤(四年前的日期),我将以下包放入目标定义中:

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

这给了我以下的目标定义:

代码语言:javascript
复制
<?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>

但是,Target将不会解决,从而给出以下依赖错误:

代码语言:javascript
复制
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包的组合包含到Target定义中,但是没有任何帮助。如有任何指导,将不胜感激。

EN

回答 1

Stack Overflow用户

发布于 2017-11-15 16:08:37

我在日蚀论坛上找到了答案

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

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46132018

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档