473,606 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Eclipse CDT error parser for external tool

Hi everyone!

I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.

The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool". And this is
what does not work. The batch output is written to what seems to be
another "instance" of the console than the regular make/build output.
And the output to this console is not parsed by any of the error
parsers.

Can anyone tell me how to run the error parser on this output? It does
not necessarily have to be in the way I tried it so far, any solution
would be helpful.

By the way: Is there maybe already a plugin that provides a
configurable output/error parser (e.g. like in textpad: regex for
error output is configurable per "external tool")

Thanks in advance,
Christian

Nov 5 '07 #1
3 3819
On Mon, 05 Nov 2007 04:56:31 -0800, up********@gmx. net wrote in
comp.lang.c:
Hi everyone!

I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.

The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool". And this is
what does not work. The batch output is written to what seems to be
another "instance" of the console than the regular make/build output.
And the output to this console is not parsed by any of the error
parsers.

Can anyone tell me how to run the error parser on this output? It does
not necessarily have to be in the way I tried it so far, any solution
would be helpful.

By the way: Is there maybe already a plugin that provides a
configurable output/error parser (e.g. like in textpad: regex for
error output is configurable per "external tool")
And what is your question about the C programming language?

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.l earn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Nov 6 '07 #2
On 6 Nov., 05:21, Jack Klein <jackkl...@spam cop.netwrote:
On Mon, 05 Nov 2007 04:56:31 -0800, ups_gen...@gmx. net wrote in
comp.lang.c:


Hi everyone!
I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.
The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool". And this is
what does not work. The batch output is written to what seems to be
another "instance" of the console than the regular make/build output.
And the output to this console is not parsed by any of the error
parsers.
Can anyone tell me how to run the error parser on this output? It does
not necessarily have to be in the way I tried it so far, any solution
would be helpful.
By the way: Is there maybe already a plugin that provides a
configurable output/error parser (e.g. like in textpad: regex for
error output is configurable per "external tool")

And what is your question about the C programming language?

--
Jack Klein
Home:http://JK-Technology.Com
FAQs for
comp.lang.chttp ://c-faq.com/
comp.lang.c++http://www.parashift.com/c++-faq-lite/
alt.comp.lang.l earn.c-c++http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html- Zitierten Text ausblenden -

- Zitierten Text anzeigen -
You might want to check this group to see that there have already been
some questions about Eclipse here. And since the question is connected
to _CDT_ as I mentioned, I do not think that I am completely wrong...

But if there is a tools.eclipse.m yproblem group (which I have not
found so far) please feel free to let me know.

Chris

Nov 6 '07 #3
On Tuesday 06 Nov 2007 2:01 pm up********@gmx. net < up********@gmx. net>
wrote in article
<11************ **********@57g2 000hsv.googlegr oups.com>:
On 6 Nov., 05:21, Jack Klein <jackkl...@spam cop.netwrote:
>On Mon, 05 Nov 2007 04:56:31 -0800, ups_gen...@gmx. net wrote in
comp.lang.c:
Hi everyone!
I created an error parser using the existing CDT stuff
<snip>
>And what is your question about the C programming language?
You might want to check this group to see that there have already been
some questions about Eclipse here. And since the question is connected
to _CDT_ as I mentioned, I do not think that I am completely wrong...

But if there is a tools.eclipse.m yproblem group (which I have not
found so far) please feel free to let me know.
What about the Eclipse newsgroups?

<http://www.eclipse.org/newsgroups/>

Nov 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2265
by: peter | last post by:
Hello all, I would like to debug my python libraries, written in c++, with GDB (gnu debugger) I'm using the mingw compiler in a windows environment. As development environment I use eclipse with the CDT plugin. This plugin also has a nice GUI frontend for the GDB. I've already tried several setups, no setup seemed to work.
5
3620
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As New System.Diagnostics.Process 'p.Start(MDEPDirStr & "macrun.exe", sPPTOut) p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE") 'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
4
2683
by: Chuck | last post by:
Hello, I am new to the Eclipse IDE. I am using pydev plug-in to create python projects. Is there a way to create custom builders to build certain types of files? I have done this with other IDE's but can't seem to figure it out
0
2007
by: christian.eickhoff | last post by:
Hello Everyone, I am an unexperienced Linux developer currently tying to implement a binary coder for XML metadata in c++. I am using Linux (Ubuntu) OS as well as Eclipse (including CDT) as application development system. After i ran some Xerces samples successfully in the shell, I tried to set up my own little DOM XML parser, similar to the ones implemented in the samples.. Unfortunately, even the intitialization of the...
10
2832
by: k.jayachandran | last post by:
I have a very curious and unique problem here. I'm creating a parser using bison and flex. i did all the development work in a linux environment. the project includes the source files output from flex and bison, then several cpp files to create a data structure from the parser. i used gcc as the compiler for the flex output(as it is a c file) and g++ as the compiler for the remaining source files. linked all the object files to create the...
6
12310
by: MaStA | last post by:
Hello, I am trying to setup Eclipse once again to work for compiling C++. I have followed several guides and still have had no luck. I get an error of launch failed no binaries when I try to compile code. I also have 2 warnings that are showing up which are as follows: Error launching external scanner info generator (g++ -E -P -v -dD C:/Users/Jared/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) Error launching...
6
4077
by: king kikapu | last post by:
Hi, this is actually goes to whoever is using Eclipse and Eric4, the IDE that comes bundled with PyQt. I was using Eclipse until i saw Eric4 and i started experiment with it, very nice work. Eric4 has a feature that actually reminds us the work of some expensive IDEs, like Visual Studio, Delphi and the like: when you compile your project, it checks to see if some .ui files (Qt Designer form files) has changed and if so, it call...
1
1395
by: Harris Kosmidhs | last post by:
Hello, I recently installed eclipse with the php plugin. My question is: can eclipse be used in a medium size site where php file include others? Or when you use an MVC approach. To be more specific. I started coding a site with implementing my own simple mvc approach
4
8589
by: vijayarl | last post by:
Hi All, i have the following software installed in my system : 1.OS: Win2k 2.Eclipse Version used :3.4.0 & even the perl too... 1. I have imported the my own perl project in Eclipse, when i tried to run the External Tools --> Perl -w am getting the popup saying then it says : " Variable references empty selection:
0
8428
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8299
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6753
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5962
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5456
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3964
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2442
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1548
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.