-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Manifest for org.eclipse.ui.intro #122
Comments
@HannesWell : could you please check? |
Good catch @amergey, thanks for this report.
Making org.eclipse.help a mandatory required bundle of o.e.ui.intro would definitely have the same effect. From my first look I have the impression that it isn't optional anyway, but I cannot tell for sure if the o.e.ui.intro can reasonable work without the help Plugin. If you think, o.e.help should become a mandatory requirement would you like to open a PR to apply that fix? |
Also without optional requirements... re-export is more a way to transition from one exporter to another (something that would be avoided by import-package much better), I even think PDE should warn if a bundle uses a reexported package and suggest to instead use the real exporting bundle (or even better use import-package). |
It was removed in PR #19 because it is transitively available, since o.e.core.expressions is reexported by o.e.help, which is rexported by o.e.help.base, which is required by o.e.ui.intro. But the requirement of o.e.ui.intro for o.e.help.base is only optional and therefore the help bundles can be absent, which leads to class-loading errors when loading classes from o.e.core.expressions. Restoring the requirement for o.e.core.expressions fixes this problem. Fixes #122
without org.eclipse.help.base in TP, trying to display welcome display following error (see screenshot). I noticed that when upgrading TP from 2022-03 to 2023-03. In our TP we did not have org.eclipse.help.base and it worked before (but we have org.eclipse.help). Outside of the issue I raised here, it seems org.eclipse.help.base is declared as a dependency becaused it reexports org.eclipse.help which seems necessary for org.eclipse.ui.intro. |
Since commit 9c6244e0b8e64c2c7fde93836070213ec39335a0
org.eclipse.core.expressions is removed but is still necessary (at compile time, and runtime as well)
Now it comes from org.eclipse.help.base (which reexport it) and without org.eclipse.help.base plugin in target platform, displaying welcome intro is not possible (CNFE for org.eclipse.core.expressions.IEvaluationContext)
I think either org.eclipse.base should become mandatory, either org.eclipse.core.expressions should be restored, otherwise it can leads with broken products
The text was updated successfully, but these errors were encountered: