Can't see custom warnings in eclipse [message #890100] |
Thu, 21 June 2012 02:01  |
Eclipse User |
|
|
|
I want to have an annotation, classes with which applied will be warned.
I followed this instruction. (since I'm not allowed to use links, the URL is misrepresented intentionally)
http : / / stackoverflow.com/questions/1752607/how-to-intentionally-cause-a-custom-java-compiler-warning-message
Now command line javac will emits the warning I want, but in eclipse, I can't see any warning symbol. I have tried turning on all warning switches in Window -> Preferences -> Java - Compiler -> Errors/Warnings.
I know Eclipse JDT has its built-in compiler, what I don't get is why it behaves differently with the javac in my OS on this.
|
|
|
|
|
|
|
Re: Can't see custom warnings in eclipse [message #890415 is a reply to message #890142] |
Fri, 22 June 2012 05:03  |
Eclipse User |
|
|
|
On 21.06.2012 11:15, Felix Wan wrote:
> Dani Megert wrote on Thu, 21 June 2012 04:57
>> On 21.06.2012 10:42, Felix It's a property page on your project:
>> select the project in the Package Explorer > context menu > Properties
>
> Yay, found it. One more thing, does it have to be a project specific
> stuff?
Yes.
> And must I explicitly tell the IDE to add custom APT jars to APT
> factory path rather than simply include them in build path?
Yes, if they contain the processor(s).
Dani
|
|
|
Powered by
FUDForum. Page generated in 0.67905 seconds