Replies: 3 comments 7 replies
-
So far, there has been no need for such feature.
p2 and OSGi dependency management does it very well without features, provided the right versions are set in MANIFEST.MF. "Belong together" is not a 1-1 mapping, it's a N-N one, and this N-N mapping gives great opportunities (partial updates, esoteric but still working combinations...) that features tend to break. LSP4E is not really meant at being a end-user feature, it's more an integration level project. So it doesn't seem so interesting to make a feature for it, particularly as features tend to block to some older versions or to make upgrades more complex (features are extra constraints). I think what you have in mind is more that p2 in general doesn't provide "deep" updates easily. That's a different problem that would better be fixed in p2 than starting to build workarounds for it in all Eclipse projects. |
Beta Was this translation helpful? Give feedback.
-
The use case is basically following:
What we do is to "force" oomph to install minimum lsp4e bundle version, but that is far from being convenient, compared to the updated lsp4e feature that would simply be placed to update site & Eclipse would automatically update it once it is there. |
Beta Was this translation helpful? Give feedback.
-
Just one more thought from my side here. Not really arguing in favor or against a feature definition, but I would keep this in mind when introducing a feature (not totally lsp4e specific though): Features usually contain fixed versions of the plugins included, which can cause "interesting" issues when updating components in the install. As long as the feature is around (and not updated itself), no other component might be able to install a newer version of lsp4e bundles. Might be totally okay for your use case though, but I am not sure that I would include a feature requirement to this new lsp4e feature in CDT itself. |
Beta Was this translation helpful? Give feedback.
-
Is there a reason why lsp4e doesn't have a feature project that includes all plug-ins? I suggest to introduce such a feature project.
The main advantage would be being able to install or update all lsp4e plug-ins that belong together. Otherwise, if non-lsp4e plug-ins do not have dependencies to each of the lsp4e plug-ins, e.g. the
org.eclipse.lsp4e.debug
plug-in, we might miss some version updates.Beta Was this translation helpful? Give feedback.
All reactions