`org.eclipse.fx.javafx`的更新站点在哪里(无法找到可安装单元)?

时间:2014-12-11 13:58:25

标签: javafx osgi p2 efxclipse

我有一个基于插件的产品文件使用:

  • org.eclipse.fx.javafx
  • org.eclipse.fx.osgi

我认为这些插件来自e(fx)clipse项目。

我正在尝试构建一个提供这些插件的目标文件(maven + tycho构建将是我的下一步)。我想我可以在这个p2更新站点上获取它们:

http://download.eclipse.org/efxclipse/updates-released/1.0.0/site

我的目标文件如下所示:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="my_target" sequenceNumber="1">
  <locations>
    <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
      <unit id="org.eclipse.fx.javafx" version="2.2.0.201408150502"/>
      <unit id="org.eclipse.fx.osgi" version="1.0.0.201408150502"/>
      <repository location="http://download.eclipse.org/efxclipse/updates-released/1.0.0/site"/>
    </location>
  </locations>
</target>

但是我收到了这个错误:&#34;无法找到可安装单元org.eclipse.fx.javafx&#34;。

Target Editor Screenshot

如果我编辑位置,我可以选择其中一个项目:

Edit content Wizard

我对夜间更新网站有相同的行为:

http://download.eclipse.org/efxclipse/updates-nightly/site

2 个答案:

答案 0 :(得分:1)

您不应该使用此更新站点来设置目标平台!创建目标平台时使用http://download.eclipse.org/efxclipse/runtime-shared-released/1.1.0/site

Edit Software site screenshot

目标文件的XML内容如下所示:

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
  <unit id="org.eclipse.fx.runtime.min.feature.feature.group" version="1.1.0.201411050602"/>
  <repository location="http://download.eclipse.org/efxclipse/runtime-shared-released/1.1.0/site/"/>
</location>

此处描述了内容最少的功能:Easier runtime consumption through special features

答案 1 :(得分:0)