Wednesday, February 29, 2012

Re: what is gwt.codesvr=127.0.0.1:9997 used for ?



On Tuesday, February 28, 2012 5:00:24 AM UTC+1, YuHong Yang wrote:
gwt compiles java to bytecode and javascript, does the browser send
the debug info to this address?

gwt.codesvr in the URL's query-string is a signal for the *.nocache.js script to load hosted.html (or devmode.js, or similar, depends on your version of GWT and the linker you use) instead of one of the *.cache.html (or *.cache.js) files of your compiled app. The hosted.html loads the DevMode plugin in the browser and initializes it so it tries to connect to your DevMode "server" (possibly running within Eclipse) at the host and port given as the gwt.codesvr value (127.0.0.1:9997 in your example).

--
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/-/FOWQIRFr-lwJ.
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