Sunday, February 24, 2019

Re: Annotation processing in Eclipse

On Saturday, February 23, 2019 at 7:03:49 AM UTC-5, Thomas Broyer wrote:
Eclipse annotation processing is known to be broken in many ways...

Yep. I took a look at the logs as Jens suggested and found an exception from the dagger compiler. Eclipse is definitely not doing it right. The dagger processor is being told 'processingOver' twice and, as one might expect, dagger throws an IllegalStateException on the 2nd invocation.

I did find that eclipse allows the order of apt processors to be changed. When I put AutoFactory's first all is good (until eclipse re-orders the list again). This allows me to put together a repeatable test-case for the eclipse folks, should they care to try to address this issue.
 
You may want to disable "in the editor" processing and explicitly run annotation processing by rebuilding the project...

I'm  pretty sure I tried that without success. I'll try it again, though.

Thanks to all for your replies.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment