eclipse-pde / eclipse.pde

Eclipse Public License 2.0
25 stars 64 forks source link

[product editor] Applications are shown that are not available #1052

Open laeubi opened 8 months ago

laeubi commented 8 months ago
  1. Create a new product
  2. Add the eclipse.sdk feature
  3. Now in the main tab select the org.eclipse.equinox.p2.director application
  4. The launch fails with

Application "org.eclipse.equinox.p2.director" could not be found in the registry. The applications available are: org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.ui.ide.workbench, org.eclipse.equinox.app.error.

The editor should only show these applications that are available.

opcoach commented 2 days ago

Yes the list of products and application should be filtered on the available extensions from the dependencies... Or if we choose one, it should propose to depend on the plugin that provide this application/product.

Could add an 'help' in a information label to explain how to find all the applications and productions available in the target platform (Ctrl Shit A or Cmd Shift A on Mac and then search for org.eclipse.runtime.application|product)

I join a sample project that shows the problem : no dependencies, but all products and applications displayed in the lists in the overview tab of the product editor.

test1052.zip