Search code examples
gwtannotationsintellij-idearequestfactory

Getting Intellij IDEA to process GWT RequestFactory annotations


Having upgraded to GWT 2.4.0, I want (need) to enable annotation processing for my RequestFactory interfaces. The instructions for doing that in Eclipse are clear enough, but I can't find the corresponding instructions for Intellij IDEA.

The fields of the annotation processing settings page in Intellij seem to require a 'Processor FQ Name', whatever that is. What might that be?


Solution

  • It turns out that one does not have to enable the annotation processor. Once I had all of the right JAR files in the classpath (requestfactory-apt and requestfactory-server in this case), and removed an old version of gwt-servlet.jar from the classpath, and invalidated Intellij's caches, and removed previously-compiled versions of my project, and restarted Intellij, and held my mouth in just the right position, the annotation processor ran, even though I had 'Enable annotation processing' unchecked.