I can confirm that copying the CodeServer's .gwt.rpc files in the local war dir, works but it's a pain: every time they change, they need to be copied. Using a -workDir under the war didn't work for me. The CodeServer output directory structure does not help. In http://tbroyer.posterous.com/how-does-gwts-super-dev-mode-work (thanks for the clarifications Thomas) is it said that can be possible to override loadSerializationPolicy to search for the SuperDevMode app space. Haven't tried yet, I'll find the time to check this out. Anyway, seems strange that the new development mode does not work well with GWT-RPC. Probably I see the problem from the wrong point of view.
On Friday, June 8, 2012 3:36:13 PM UTC+2, Stefano Ciccarelli wrote: > > The .gwt.rpc files are correctly generated in the war relative to the > CodeServer workDir, I have to found a way to copy them to the container war > when they change (not quite often), would be nice if the CodeServer could > do that for me :) > > > 2012/6/8 Thomas Broyer <[email protected]> > >> >> >> On Friday, June 8, 2012 2:18:28 PM UTC+2, Stefano Ciccarelli wrote: >>> >>> I know, I'm using App Engine as a servlet container. But the problem is >>> to generate .gwt.rpc files that are compatibles with the compiled >>> javascript generated by SuperDevMode. >> >> >> Oops, sorry; I read too fast. >> >> Switch to RequestFactory? ;-) >> >> More seriously, I doubt it'll ever be possible to use GWT-RPC with >> SuperDevMode, due to how/where it generates its output; though maybe you >> could tweak the way serialization policies are loaded on the server-side? >> (hmm, with AppEngine, that might be impossible, as you'd have to access >> files on the file-system; or maybe set SuperDevMode's workDir as a >> subfolder of your -war?) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-web-toolkit/-/Rj4sG6PpW_oJ. >> >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > > > > -- > Nel mondo esistono 10 categorie di persone, quelle che capiscono il > binario e quelle che non lo capiscono. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-wEN2AbAAcMJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
