Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and classifier

Thanks a lot for your clear answer

Have a good day


De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Mickael Istria
Envoyé : vendredi 30 juin 2017 09:06
À : Tycho user list <tycho-user@xxxxxxxxxxx>
Objet : Re: [tycho-user] Tycho and classifier


In general, using classifier isn't a convention properly understood by OSGi, PDE, API Tools nor p2. See how Version Numbering is supposed to happen:

If you have some bundles which are targeting different versions of the simultaneous release, I think it's better to give them different names, and to deal with version constraint on their Require-Bundle to make sure both don't get installed simultaneously, and use Import-Package in clients instead of Require-Bundle to let p2 find the artifact that works best for the current installation profile.

It is usually a good thing to extract out the parts that are common in their own common bundle in order to minimize the amount of code concerned by this problem.


Back to the top