eclipse-pde / eclipse.pde

Eclipse Public License 2.0
29 stars 80 forks source link

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

Open laeubi opened 10 months ago

laeubi commented 10 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 1 month 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

Cecilia-Rz commented 1 month ago

I'm working on this

HannesWell commented 1 month ago

I'm working on this

Great. You are one of the students from CodeDays, aren't you?

Much success on this task and don't hesitate to ask for help if you need any.