Re: Is it possible to set sourceMapping URL different from CodeServer bindAddress?
bindAddress uses InetAddress.getByName() to resolve the value, so if it fails with "Can't resolve bind address", it probably means the DNS on your server are not configured correctly.
On Sunday, October 6, 2013 7:02:05 PM UTC+2, Artem Zatsarynnyy wrote:
-- On Sunday, October 6, 2013 7:02:05 PM UTC+2, Artem Zatsarynnyy wrote:
Hi, Thomas!Yes, of course, I have tried to set the host name as bindAddress, but in this case I get the mesage "Can't resolve bind address". As far as I understand, it should be only local IP address.Accessing to my server by its IP address doesn't solve the problem. My problem is that //@ sourceMappingURL is pointing to the local IP address.Also, I have tried to play around the "includeSourceMapUrl" property in my gwt.xml descriptor:<set-configuration-property name='includeSourceMapUrl' value='http://www.my_host.com/'/ >But it didn't change anything.
воскресенье, 6 октября 2013 г., 16:46:08 UTC+3 пользователь Thomas Broyer написал:Have you tried using the host name as -bindAddress? or accessing your server by its IP address rather than its host name?
On Sunday, October 6, 2013 3:17:56 PM UTC+2, Artem Zatsarynnyy wrote:I have one problem with GWT CodeServer that seems no one has faced yet ).I need to launch GWT CodeServer on a remote host www.example.com:9876 but I have some problem with SourceMaps.So, I launch GWT CodeServer on a computer with specified -bindAddress parameter that equals to the computer's IP address in LAN (for example 192.168.1.10). It works perfectly: when I go to www.example.com:9876 then DNS redirects me to the local machine in the LAN where CodeServer was launched.But sourceMappingURL in the compiled *.cache.js files points to the computer's IP address in the LAN. Like this://@ sourceMappingURL=http://192.168.1.10:9876/sourcemaps/_app/ gwtSourceMap.json Is it possible to set sourceMapping URL different from CodeServer bindAddress?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home