Skip to main content



      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 05:23 Go to next message
Eclipse UserFriend
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 07:56 Go to previous messageGo to next message
Eclipse UserFriend
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 06:20 Go to previous messageGo to next message
Eclipse UserFriend
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 04:38 Go to previous message
Eclipse UserFriend
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: Fri Jul 18 18:45:25 EDT 2025

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

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

Back to the top