Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Plugin Version Numbers in CDT 8.3

William.Riley@xxxxxxxxxxx wrote:
> I have been trying out the latest CDT 8.3 (building locally from the 8.3 branch) and noticed there are a number of plugins where the version number is lower in 8.3 than in 8.2.1. e.g. org.eclipse.cdt.managedbuilder.ui is at version "8.2.1.qualifier" in CDT 8.2.1 but the last CDT 8.3 has version "8.2.0.qualifier".

Possibly related: We have noticed here that org.eclipse.cdt.debug.ui has had API added in 3e847514 (org.eclipse.cdt.debug.internal.ui.disassembly.dsf.IDisassemblyBackend.canDisassemble()) that is consumed by org.eclipse.cdt.dsf.ui, but its version number is still the same "7.3.0.qualifier" and org.eclipse.cdt.dsf.ui still requires the same "6.1.0" as in CDT 8.2.1. This allowed the org.eclipse.cdt.dsf.ui from CDT 8.3.0 (built by us) to install together with org.eclipse.cdt.debug.ui from CDT 8.2.1 (from the official update site), which resulted in runtime errors when trying to use the disassembly view (NoSuchMethodError at org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyPart.gotoFrame(DisassemblyPart.java:2266)).

I'm rusty about what the rules are for versioning internal API, so this may or may not actually be a problem. For now we solved it by requiring the whole CDT 8.3.0 feature, not just individual plugins.

 -Christian



Back to the top