Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Determine CDT version progammatically?

Thanks, Jonah, that worked!

From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Jonah Graham <jonah@xxxxxxxxxxxxxxxx>
Sent: May 3, 2017 6:23:44 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Determine CDT version progammatically?

Hi Nate,

You can do this with the Platform.getBundleGroupProviders[1]. Internally that is what features are called.

This is someone's blog post that may help too[2].

CDT can be installed without the feature being installed.




On 3 May 2017 04:05, "Nathan Ridge" <zeratul976@xxxxxxxxxxx<mailto:zeratul976@xxxxxxxxxxx>> wrote:
Is there a way I can determine the current CDT version (e.g. 9.3.0) programmatically from within CDT code?

Note, I'm not talking about the version number of an individual plugin (e.g. I see I can get the version number of the org.eclipse.cdt.core plugin via CCorePlugin.getDefault().getBundle().getVersion()); I would like the version number of the entire CDT package, such as 9.3.0.

cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top