Where is the update site for `org.eclipse.fx.javafx` (Unable to locate installable unit)?

2k views Asked by At

I have a plugin based product file using:

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

I think these plugins come from the e(fx)clipse project.

I am trying to build a target file providing those plugins (a maven+tycho build will be my next step). I thought I could get them on this p2 update site:

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

My target file looks like this:

<?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>

But I get this error: "Unable to locate installable unit org.eclipse.fx.javafx".

Target Editor Screenshot

If I edit the location, I can select one of those items:

Edit content Wizard

I have the same behavior with the nightly update site:

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

2

There are 2 answers

4
tomsontom On BEST ANSWER

You should NOT use this update-site to setup a target platform! Use http://download.eclipse.org/efxclipse/runtime-shared-released/1.1.0/site when creating target platforms.

Edit Software site screenshot.

The XML content of the Target file looks like this:

<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>

The feature with minimal content is described here: Easier runtime consumption through special features.

0
Mailkov On