From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Behringer, Martin
Sent: Friday, November 25, 2005
9:59 AM
To: CDT
General developers list.
Subject: AW: [cdt-dev] Ant and
ErrorParsers
Von: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] Im
Auftrag von Mattias Bertilsson
Gesendet: Freitag, 25. November
2005 15:41
An: CDT
General developers list.
Betreff: Re: [cdt-dev] 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