eclipse-pde / eclipse.pde

Eclipse Public License 2.0
25 stars 62 forks source link

Add support for Karaf features in target platform definition file #615

Open niport opened 1 year ago

niport commented 1 year ago

It might be useful to allow to add karaf feature support in target platform definition file. Two main reasons:

The imported Karaf feature maybe can then be converted on the fly in an Eclipse feature, as it is already possible with maven artifacts.

laeubi commented 1 year ago

Karaf features can not be converted to eclipse-features per-se as they contain a lot of additional information that can be expressed as an eclipse-feature. Beside that, they technically can reference URL-Handlers that Eclipse do not understand (most notable wrap protocol).

Also one need to decide how they should be added, e.g. using an URL, should file local features be supported, what about referenced features and so on.

So I think this will be a lot of effort to have a generic support in PDE, but as feature.xml are often deployed as maven artifacts one might want to add support to the m2e-target to support transforming such a feature.xml into a set of bundles, this can work to some degree quite smoothly and m2e can also create a (new) pde-feature that includes bundles of a location.