[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Ant and ErrorParsers
|
Title: Ant and ErrorParsers
I agree with you about Ant vs. Make. And if you use the -emacs
commandline option to Ant, it will not print the [<TASK>]
prefixes and the CDT error parsers will work fine.
/Mattias Bertilsson
Behringer, Martin wrote:
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
|
begin:vcard
fn:Mattias Bertilsson
n:Bertilsson;Mattias
org:ENEA Embedded Technology AB;Research & Development
adr:SE-164 21 KISTA;;Box 1033;;;;Sweden
email;internet:mattias.bertilsson@xxxxxxx
title:Senior Software Engineer
tel;work:+46 8 507 140 00
version:2.1
end:vcard