eclipse / nebula

Nebula Project
https://eclipse.org/nebula
Eclipse Public License 2.0
84 stars 98 forks source link

problem installing nebula oscilloscope from Sloeber #539

Closed jantje closed 8 months ago

jantje commented 8 months ago

This old issue is back but I thought I found something that may lead to resolution. The error I got this time was this:

An error occurred while collecting items to be installed
session context was:(profile=C__test_sloeber_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.nebula.widgets.oscilloscope,1.4.0.202309281940
No repository found containing: org.eclipse.update.feature,org.eclipse.nebula.widgets.oscilloscope.feature,1.4.0.202309281940
No repository found containing: osgi.bundle,org.eclipse.nebula.widgets.oscilloscope.source,1.4.0.202309281940

What struck me is that the version number is a number of the snapshot repository and not the release repository. So I removed all references to nebula snapshot repositories in Sloeber and that didn't fix the problem. Then I added the nebula snapshot reference to the sloeber update site and then it installed the snapshot version. So I went snooping in the nebula code and for one reason or another found the oscilloscope feature "suspicious" and decided to make sloeber reference the plugins and not the feature. Again the install worked (without the snapshot feature in my update site) and the release versions are installed afbeelding

afbeelding Then I went back to the feature and it worked again 😮 Then I realized everything had been installed with the installer with the pool so once they are there they probably will be found. So I deleted the oomph pool And tried again without snapshot repository and nebula feature in the sloeber update site And it installed again the release version 😢

It will need more investigation

https://github.com/search?q=repo%3Aeclipse%2Fnebula%20%2Fsnapshot&type=code

jantje commented 8 months ago

I simply can not reproduce the problem anymore.