|Re: Eclipse custom errors [message #515217 is a reply to message #514969]
||Thu, 18 February 2010 08:46
| No real name
Registered: February 2010
Bump, still dont have the answer, lemme try and explain it once more |
What i want is to make my own custom problems, get them detected by the compiler and show them in the problems view. Now the custom errors can be anything like a misplaced annotation (I have some that throw runtime errors when misplaced, but code gets compiled).
I somehow need the compiler to check for these custom errors, thing is i dont know how to:
a: Create the general errors (Thats in setting the message and stuff, the icon).
b: How to analyze the code finding the errors and fill in things like line number, filename and stuff.
Does anybody have a simple example of how to do this?
I have done some research but i just cant tie the ends together, or im looking in the wrong spot. As you can read in my previous posts.
Ive checked some open source code analyzers but that didnt quite work, most of the code is hidden in jars.
[Updated on: Thu, 18 February 2010 08:47]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04681 seconds