Hi all,
we are using Ant scripts to build
our C/C++ projects because they are much more powerful and portable than
traditional makefiles.
But unfortunately if we are
invoking the scripts from within eclipse we are not able to get our compiler
errors parsed by the
error parsers.
I see two ways of invoking the
scrpts at the moment. Both work fine for compiling, but I can't get my
errors parsed.
1. In the project properties
dialog in the "builders" option I added a new Ant-Builder and registerd my
build script. It executes fine, all the messages are displayed in the
console, but the messages are not passed to the error parsers at all. How
can I get the messages parsed by the CDT error parsers?
2. I the project properties dialog
in the "C/C++ Make Project" instead of invoking the standard build command,
I execute a batch file to start ant. It executes fine and now all messages
are actually passed to the error parsers. But unfortunately ant adds the
prefix of the executed task before the actual error message. It looks like
this:
[compile] D:\project\boot.c:81: error: for each function it appears in.)
Since the error parses dont't
expect the task prefix "[compile]" they are not able to parse the messages
properly and therefore are not able to put the into the problems
view.
What can I do to use Ant AND get my
errors correctly parsed the the error parsers?
Thanks in advance
Martin
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev