Friday, September 13, 2013

Re: GWT maven plugin and Appengine maven plugin



On Friday, September 13, 2013 2:03:05 PM UTC+2, Сергей Устинкин wrote:
Hi Thomas,
thank you very much for your explanation, it is full and detailed.
I have excluded maven-processor-plugin, add dependency to maven-compiler-plugin, and install m2e-apt connector.
In eclipse, when i run development mode i catch execption: 
java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.runetfind.webapp.shared.service.ServerRequestFactory RequestFactory type

do i need to configure annotation processing in project settings manually?

m2e-apt should configure it for you (IIRC you have to go enable it manually though).
 
And when i run mvn gwt:run from command line i got the same problem, what i`m doing wrong?

In your initial POM, the maven-compiler-plugin had annotation processing disabled (because it was handled by the maven-processor-plugin) with <proc>none</proc>. Remove that config to re-enable it.
You might also have an issue that adding requestfactory-apt as a dependency to the maven-compiler-plugin might not work, depending on the version of the plugin: http://jira.codehaus.org/browse/MCOMPILER-202
The workaround is to use requestfactory-apt as a dependency with either scope=provided or optional=true.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment