Bug 582758 - 9.2.0 baseline causes API tools errors in Eclipse IDE
Summary: 9.2.0 baseline causes API tools errors in Eclipse IDE
Status: RESOLVED FIXED
Alias: None
Product: Tracecompass
Classification: Tools
Component: Releng (show other bugs)
Version: 9.2.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-14 15:07 EST by Bernd Hufmann CLA
Modified: 2024-05-06 13:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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