Markers do not appear in Problems view [message #483117] |
Mon, 31 August 2009 07:51 |
Eclipse User |
|
|
|
Originally posted by: yoduderoo.netscape.net
Hi,
I create markers but nothing ever appears in the Problems view. There
are no error messages, no log entries. What is wrong? Am I missing a plugin?
My RCP app is based on Eclipse 3.5.
Thanks, y
// p is my IProject
IMarker marker = p.getWorkspace().getRoot().createMarker("xyz");
marker.setAttribute(IMarker.MESSAGE,"This is a message");
marker.setAttribute(IMarker.LOCATION,"/aa/bb");
marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);
|
|
|
|
Re: Markers do not appear in Problems view [message #483165 is a reply to message #483128] |
Mon, 31 August 2009 12:33 |
Eclipse User |
|
|
|
Originally posted by: yoduderoo.netscape.net
Problem was I had created my own marker but programmatically was not
using the same marker id in my code as defined in the extension. Once I
harmonized these, things worked.
By the way, yes, I was already looking at the console :)
Thanks,
y
Daniel Megert wrote:
> Yodude wrote:
>> Hi,
>> I create markers but nothing ever appears in the Problems view. There
>> are no error messages, no log entries. What is wrong? Am I missing a
>> plugin?
> How should we know? Start with -debug and check the console for
> problems. Another problem could be that a filter is active in your
> Problems view.
>
> Dani
>>
>> My RCP app is based on Eclipse 3.5.
>>
>> Thanks, y
>>
>> // p is my IProject
>> IMarker marker = p.getWorkspace().getRoot().createMarker("xyz");
>> marker.setAttribute(IMarker.MESSAGE,"This is a message");
>> marker.setAttribute(IMarker.LOCATION,"/aa/bb");
>> marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03064 seconds