Friday, January 27, 2012

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

I ended up solving my problem. I think the validation stuff that puts
stuff in that .apt_generated folder was failing, but not reporting it
to the eclipse console or problems tabs.

My application is spread over 2 projects (so far). I have one project
that is basically a bunch of classes that were generated by jaxws.
The second project is the GWT project that contains my requestFactory
stuff. I was creating an "EntityProxy" in my GWT project that was a
"proxyfor" one of those Jaxws generated objects. After following all
the directions, I was not getting anything in my .apt_generated
directory (Just like Evan was reporting).

I discovered that when I removed my EntityProxy for the jaxws genned
object, the .apt_generated folder would populate. Adding it back in
would cause it to go away again. After some investigation, I ended up
adding a bunch of jars to my GWT-project's classpath so that it
matched the classpath of my jaxws-project. After that, it all worked.

I suspect that the GWT annotation-processor/validation stuff was
failing with some classpath related problems and not reporting it.

--Rob

On Jan 27, 12:21 pm, Rob Whiteside <rob.whites...@gmail.com> wrote:
> Been a couple weeks since anyone chimed in on this issue.  Has anyone
> solved this?  I am experiencing the same issues.
>
> On Jan 15, 3:53 am, Thomas Broyer <t.bro...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Eclipse seems to have issues with annotation processors (it regularly
> > generates errors when I modify source code; generally it resolves itself
> > after either a new change, a refresh or a rebuild).
>
> > Is your app working if you compile your code outside Eclipse?
>
> > As for your "build.properties does not exist" error, have a look athttp://stackoverflow.com/questions/1226642/why-do-i-get-a-warning-bui...

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment