[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] CDT Error Parsers and the CDT Build Console
|
Hi,
I am currently trying to get my build output (GCC) parsed by the CDT
Error Parsers in the default console but not having any success yet.
Given the following example:
8<===============
final IConsole console = CCorePlugin.getDefault().getConsole();
console.start(myProject);
final OutputStream consoleOutput = console.getOutputStream();
console.write(/* GCC output written into the console */);
console.flush();
console.close();
8<===============
How can I make sure that activated Error Parsers do their work on the
output shown?
The GCC I am using is externally started and its output is forwarded
to the CDT Build Console using the OutputStream as shown above. The
project has its CDT natures set and I tried to compile some erroneous
C-files to make sure that some lines in the GCC output contain typical
"error:" statements. However, none of these are highlighted.
Could you please give me a hint on how to achieve my goal?
Thanks for your help,
Rainer