Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT version number

What is a good way to determine the current version of CDT, programmatically?

I was doing this:
Bundle cdtBundle=Platform.getBundle("org.eclipse.cdt.core");
String version = (String) cdtBundle.getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION);
System.out.println("CDT version: "+version);

But cdt.core still reports version:
Should this be a 6.0.* number, or has nothing changed in this plugin?
Is there a better way to query the CDT version?  feature?


Beth Tibbitts (859) 243-4981 (TL 545-4981)
Eclipse Parallel Tools Platform
Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New Circle Road, Lexington, KY 40511

Back to the top