Hi Ed,

On Thu, Mar 21, 2019 at 11:36 AM Ed Merks <[email protected]> wrote:

> But generally the p2 metadata produced for a feature.xml will lock in very
> specific versions of their included bundles and features which prevents
> those from being updated to a different version.  That's sometimes annoying
> and then folks will use p2.inf information to specify looser requirements.
> E.g., the platform uses EMF but in an installation of some Eclipse
> package/product the users want to be able to update/install a newer version
> of EMF.
>

I don't think using p2.inf is the more straightforward and sustainable (in
term of maintenance) approach for that case.
A feature can define dependencies with the <import> element to add a
non-version-locked dependency that will be installed together with the
feature. This is better supported by PDE and Tycho than a p2.inf and keeps
everything in the feature.xml (easier maintenance).
-- 
Mickael Istria
Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/>
developer, for Red Hat Developers <https://developers.redhat.com/>
_______________________________________________
p2-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev

Reply via email to