Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Placing own errors in Problems or Error Log View
Placing own errors in Problems or Error Log View [message #719869] Mon, 29 August 2011 09:23 Go to next message
Tom Brandenburg is currently offline Tom BrandenburgFriend
Messages: 58
Registered: October 2010
Location: Abstatt, Germany
Member
Hello all,

in my current project I execute a custom make tool chain in Eclipse which populates stdout and also a log file.
What I want to do is to parse that log files for errors or warnings and show them in the Problems View or Error Log View. How can that be achieved in a simple way?
I already read about IProblem and ProblemHandler/ProblemReporter but don't have a clue yet.

Thanks in advance and best regards
Tom Brandenburg Smile
Re: Placing own errors in Problems or Error Log View [message #722328 is a reply to message #719869] Mon, 05 September 2011 11:56 Go to previous messageGo to next message
Tom Brandenburg is currently offline Tom BrandenburgFriend
Messages: 58
Registered: October 2010
Location: Abstatt, Germany
Member
Hello,

is there no way to do so? I expect that it shouldn't be that problematic but I simply don't know how to place own messages there.

Thanks in advance and bye
Tom Smile
Re: Placing own errors in Problems or Error Log View [message #724848 is a reply to message #719869] Tue, 13 September 2011 10:20 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 29.08.2011 11:23, Tom Brandenburg wrote:
> Hello all,
>
> in my current project I execute a custom make tool chain in Eclipse
> which populates stdout and also a log file.
> What I want to do is to parse that log files for errors or warnings
> and show them in the Problems View or Error Log View. How can that be
> achieved in a simple way?
The Error Log view shows what's in the .log file. If you write to the
Eclipse log, then it should appear there. The Problems view on the other
hand shows markers that are attached to resources inside your workspace
(for a first intro to markers see
http://www.eclipse.org/articles/Article-Mark%20My%20Words/mark-my-words.html).
You first need to decide what kind of things are reported in your log
i.e. whether those are rather program errors or problems in your
(re-)source files.

Dani
> I already read about IProblem and ProblemHandler/ProblemReporter but
> don't have a clue yet.
>
> Thanks in advance and best regards
> Tom Brandenburg :)
Re: Placing own errors in Problems or Error Log View [message #727411 is a reply to message #724848] Wed, 21 September 2011 08:38 Go to previous message
Tom Brandenburg is currently offline Tom BrandenburgFriend
Messages: 58
Registered: October 2010
Location: Abstatt, Germany
Member
Hello Dani,

thank you very much for your answer. Currently I am busy with other topics in my project, but once I come back to that item I'll post the outcome here. But it sounds promising.
Thank you for your help!

Bye Tom Smile
Previous Topic:embedding video in an Android App tutorials?
Next Topic:Different look and feel when run outside of eclipse
Goto Forum:
  


Current Time: Tue Mar 19 11:12:25 GMT 2024

Powered by FUDForum. Page generated in 0.03327 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top