-
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
Remove SLF4J Plugin from all features #61
Conversation
Can one of the admins verify this patch? |
ok to test |
SLF4J is needed by Jetty. Removing the bundle makes impossible to start Jetty with RAP target platform. @mknauer probably we can use the new bundle symbolic name |
Even if you specify If you want to build a self contained p2-repo for rap you could use includeAllDependencies of the |
We'll leave it for 3.23M1 as it is and will consider it again for M2/M3. |
I would appreciate if this is considered until M2. Then we have more time to address problems until M3. |
If a Feature includes a Plugin, it usually includes it with a specific name and the version that was in the TP when the feature was build. This prevents consumers from using a slf4j bundle with different symbolic-name or different version in their TP or product. This is part of eclipse-platform/eclipse.platform.releng.aggregator#588
Any updates in this regard? |
Maybe it helps to look at the idea behind the "RAP Basic Equinox Target" feature. It has been created and is still maintained as a feature that a developer can use as a minimal set of meaningful bundles for developing RAP applications. It includes the RAP Runtime, Jetty for handling all the http stuff, and all of that is bound together by Equinox as OSGI runtime (speaking of that, we used to have other variants based on Apache Karaf, Felix, etc.). It lives in a separate Simultaneous Release validation set in order to minimise the interference of some RAP implementations with their RCP counterparts, and it happily redistributes the exact same versions of bundles that are used in the Eclipse Platform and in the Simultaneous Release. Therefore it is not meant to create a self contained p2-repo, but its goal is to offer developers a self contained feature, and that requires adding the I will update the commit of this PR accordingly, including changes in various other files, e.g. launch configurations. And I will update RAP Tools in the same way. |
To confuse everyone as much as I can... no, sorry for that, but I didn't find a better way in GitHub as to create a new separate pull request that should replace this one. In fact, there are two pull requests, one for each project:
These pull request contain the change of the bundle symbolic name. |
Understand. Thank you for the elaboration. An Installable-Unit location in a Target-Definition can be configured to include (transitive) dependencies of all specified Plugins and Features and I assume that for example Jetty requires slf4j so it will be pulled into a TP anyway. But you probably know that and want to have a self-contained Feature nonetheless. Updating the Features to include the new slf4j bundle is also fine since it prevents contributing the old one to SimRel. |
And since you mentioned that you have to adjust launch configurations, you can also configure them to include required Features and Plugins automatically upon launch: Maybe that is interesting for you as well. |
Thank you! And thank you for bringing up the last idea about the launch configurations, we may consider this. Although we tried our best in the past to keep them all in sync from release to release, they deviated sometimes from reality, and ticking that checkbox would prevent most of these cases. |
You're welcome. :) |
If a Feature includes a Plugin, it usually includes it with a specific name and the version that was in the TP when the feature was build. This prevents consumers from using a slf4j bundle with different symbolic-name or different version in their TP or product.
This is part of eclipse-platform/eclipse.platform.releng.aggregator#588