On 13/06/12 18:53, Andrea Boscolo wrote:
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.
There's an alternative to copying gwt.rpc files. I've changed my app so that 
when it looks for the serialization policy, and it can't find it, it will ask 
the code server for it. You just need to parse the module base URL to get the 
module name, and then use the strong name provided to generate the appropriate 
URL, something like:
    http://localhost:9876/modulename/strongname.gwt.rpc

All I need to do now is to add the codeserver URL as a parameter in web.xml so 
that this feature can be enabled/disabled so it doesn't happen in production.

I don't know whether this technique would work on GAE as well.

Paul

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
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.

Reply via email to