Bug 582758

Summary: 9.2.0 baseline causes API tools errors in Eclipse IDE
Product: [Tools] Tracecompass Reporter: Bernd Hufmann <bernd.hufmann>
Component: RelengAssignee: Project Inbox <tracecompass-inbox>
Status: RESOLVED FIXED QA Contact: Project Inbox <tracecompass-inbox>
Severity: normal    
Priority: P3    
Version: 9.2.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205854
https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205853
https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205855
https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205856
Whiteboard:

Description Bernd Hufmann CLA 2023-12-14 15:07:20 EST
After setting baseline to the tracecompass-baseline-9.2.0.target, each plugin report an error that the minor version needs increased because the execution environment changed, for example:

"The minor version should be incremented in version x.y.z, since execution environments have been changed since version x.y.z"

Moreover, there are errors that the major version should be changed for enum definitions, for example:

"The super interfaces set has been reduced (java.lang.constant.Constable) for type"

Both errors seem to be related. 

When building with maven, these errors are not reported.
Comment 1 Bernd Hufmann CLA 2023-12-15 14:34:13 EST
This is caused because the packaged MANIFEST.MF of each plug-in doesn't have the Bundle-RequiredExecutionEnvironment due to the Tycho change that Trace Compass 9.2.0 used to build:

https://github.com/eclipse-tycho/tycho/blob/main/RELEASE_NOTES.md#new-parameter-in-tycho-packaging-pluginpackage-plugin
Comment 3 Bernd Hufmann CLA 2023-12-15 16:58:57 EST
After merging the patch to stable-9.2 branch a new stable update site was built. This update site was copied to http://download.eclipse.org/tracecompass/releases/9.2.0/baseline.

The following patches update the tracecompass-baseline-9.2.0.target to point to the above update site. This will get rid of the errors reported in the bug.

master branch:
https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205856

stable-9.2 branch:
https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205855
Comment 4 Bernd Hufmann CLA 2024-05-06 13:31:24 EDT
resolved in 9.3.0