Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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: https://wiki.eclipse.org/Version_Numbering
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.

HTH

Back to the top