Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Can't see custom warnings in eclipse (I want to have an annotation, classes with which applied will be warned.)
Can't see custom warnings in eclipse [message #1794980] Wed, 12 September 2018 07:00 Go to next message
Van Bang is currently offline Van BangFriend
Messages: 1
Registered: September 2018
Junior Member
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 : / /

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 #1795080 is a reply to message #1794980] Fri, 14 September 2018 07:45 Go to previous message
Jay Arthanareeswaran is currently offline Jay ArthanareeswaranFriend
Messages: 30
Registered: July 2009
I can't, at this point, tell you why this won't work because Eclipse does implement the javax.annotation.processing.Messager API and we have several tests that test this. I can look at this if you can share your annotation processor. Also, have you confirmed that your processor gets called? This you can do by printing to the console inside the process() method.
Previous Topic:Native library path not working in tomcat
Next Topic:Java Dummies Book : EchoLine
Goto Forum:

Current Time: Sat Nov 17 02:52:49 GMT 2018

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

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

Back to the top