Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem Marker(My code to create Problem Marker is not running.)
Problem Marker [message #873011] Thu, 17 May 2012 10:12 Go to next message
Purushottam Singh is currently offline Purushottam SinghFriend
Messages: 2
Registered: May 2012
Junior Member
I have created a problem marker to show uncompatible projects into log file but this problem marker is not able to show any uncompatible project.

IMarker marker=ResourcesPlugin.getWorkspace().getRoot().createMarker(MARKER_TYPE);
final String message = project.toString();
marker.setAttribute(IMarker.MESSAGE, message);
marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_WARNING);
Re: Problem Marker [message #873144 is a reply to message #873011] Thu, 17 May 2012 15:37 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4491
Registered: July 2009
Senior Member

Markers do not appear in the log file, they appear in the Markers/Problems/Tasks/Bookmarks Views. Markers you create on the workspace root itself, don't. You should be creating them on the project, or better yet, the resource that actually makes that project incompatible.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Importing project from SVN unable to run project on localhost?
Next Topic:problems with eclipse
Goto Forum:
  


Current Time: Mon Sep 23 12:46:00 GMT 2024

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

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

Back to the top