Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Unable to parse build console with consolePatternMatchListeners extension point

Hi Andrew,

I didn't try the IBuildConsoleListener interface. Do you eventually have a snipped of code on how to use it?

btw, I could implement a console parser using the IErrorParser and its counter-part org.eclipse.cdt.core.ErrorParser extension point, although it does not seems semantically correct since I don't want to parse errors.

Thanks for the help!

- Wainer

On 04/05/2013 11:18 AM, Andrew Gvozdev wrote:
Hi Wainer,
I am not sure about consolePatternMatchListeners, implementation of CDT Build Console might be different. I see that BuildConsoleManager provides interface for IBuildConsoleListener, did you try that?

Thanks,
Andrew


On Thu, Apr 4, 2013 at 1:31 PM, Wainer Moschetta <wainersm@xxxxxxxxxxxxxxxxxx> wrote:
Hi all,

I've been trying to parse CDT Build Console using the org.eclipse.ui.console.consolePatternMatchListeners extension point without success. I'm able to parse with below snipped of code other consoles like osgiConsole and javaStackTraceConsole but it does not take any effect to the CDT Build Console.

It seems not able to attach to the cdt build console output so I wonder if CDT console implementation is somehow not compatible with standard IConsole.

Any help is welcome. Even suggestions to parse cdt build console in different way.

---------------------------------
<extension
         id="my.plugin.consolePatternMatchListeners"
point="org.eclipse.ui.console.consolePatternMatchListeners">
         <consolePatternMatchListener
            class="my.plugin.controller.ConsolePatternMatcher"
            id="my.plugin.ConsolePatternMatcher"
            regex=".*">
            <enablement/>
         </consolePatternMatchListener>
   </extension>
----------------------------

Thanks,

Wainer dos Santos Moschetta
IBM SDK for PowerLinux

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top