[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

On Fri, May 23, 2008 at 4:33 AM, James Blackburn wrote:
>> 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.

i'll take a look ...

> 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

so it works for me if i export the internal scanner package and then
just refer to all the gcc things directly.  but i'm using a gcc-based
toolchain, so all the hardwork has been done for me already.  i could
also copy & paste the internal scanner files into my local plugin, but
that sucks too ... only slightly less in that i'll still be able to
distribute my plugin without requiring CDT modifications.

there is also:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204043

> 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!

ive posted what minor fixes i can, but i'm far from a java or eclipse
guy.  the work i'm doing atm is merely due to lack of a real java or
eclipse guy availability.  hopefully things will be rectified down the
line, and then i can bug that guy to fix things right ;).
-mike