我有一个基于插件的产品文件使用:
我认为这些插件来自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;。
如果我编辑位置,我可以选择其中一个项目:
我对夜间更新网站有相同的行为:
http://download.eclipse.org/efxclipse/updates-nightly/site
答案 0 :(得分:1)
您不应该使用此更新站点来设置目标平台!创建目标平台时使用http://download.eclipse.org/efxclipse/runtime-shared-released/1.1.0/site
。
目标文件的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)
在这里有org.eclipse.fx。* http://download.eclipse.org/efxclipse/updates-nightly/site
如果您有问题,可以下载zip: http://download.eclipse.org/efxclipse/updates-nightly/site_assembly.zip