Sunday, January 22, 2012

Re: RequestFactoryServlet config and symbolMapsDirectory



On Sunday, January 22, 2012 5:52:05 PM UTC+1, Stephen Buergler wrote:
Shouldn't the stuff in com.google.web.bindery.requestfactory.server.RequestFactoryServlet.ensureConfig() be in init() instead so you don't have to call it for every POST?

It seems like it could. Feel free to contribute the patch: http://code.google.com/webtoolkit/makinggwtbetter.html#contributingcode
 
Also is there a reason it doesn't default to looking for the symbolMapsDirectory wherever gwt normally puts them by default?

Because (only guesses):
 - AFAICT, StackTraceDeobfuscator works off java.io.File and in most cases apps will run off WARs
 - people can choose to output somewhere else (pass -deploy to the compiler) or simply move/not deploy the folder
 - deobfuscation takes time, so it's off by default

--
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/-/iwxQizemHTsJ.
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