Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Re: org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile: allowing inheritance ala superClass

> as it stands, the only way a similar extensibility could be attained
> is if org.eclipse.cdt.managedbuilder.internal.scannerconfig is
> exported so people can copy and paste the main gcc
> ScannerConfigurationDiscoveryProfile with references back to the
> internal classes.

You can just point at PerProjectSICollector for your scanner info
collector couldn't you? The internal packages in the make.core plugin
are currently visible externally. 

At the moment the scanner stuff is indeed poorly documented and
commented, and I'm not convinced it currently works properly, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207851
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206372
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221682

I'm afraid that if you look through the mail archives, you'll find that
this comes up again and again.  As far as I can tell most people don't
have a great deal of success with this.  Of course the obvious thing to
do would be to try to lend a hand to improve matters, but the code is
devoid of comments and I've certainly found it very tough going.

Obviously if you could use CDT's managed build instead, you'd find the
world is a much happier place!

James



Back to the top