Hi Happy GWT coders,

I use GWT extensively to develop both on web and mobile platforms, notably 
with Cordova.

After a migration to GWT 2.7, I now encounter an issue using Super Dev Mode 
in the Cordova Web View (Android - I believe the issue would be similar for 
iOS).

On a Phonegap/Cordova application (version 3.6 here), we use an index.html 
file local to the application, containing a well known Super Dev Mode link 
(of type: http://mycodeserver:9876/myapp/myapp.nocache.js) to a *different* 
CodeServer, hosted non locally to the phone (or emulator in our case).

So, the we have the following architecture :

   - HTML is hosted on an empty hostname (since it is a local file from the 
   phone's point of view)
   - GWT code is hosted on mycodeserver:9876
   

Everything worked fine up to GWT 2.6.1, but I believe that GWT 2.7 now 
creates a new script in the form http://{$wnd.location.hostname}:9876/
recompile-requester/{myapp} placed at the top of the head of the DOM, and 
this new script in turn executes the (otherwise quite cool) auto-recompile 
GWT module.

Now you get my issue: the Cordova web view yells at me at tells me "can't 
find http://:9876//recompile-requester/myapp"; (yes, there is no hostname 
between http:// and :9876). And everything stops...

So my question is: is there a hidden (or well known) feature in GWT that I 
could use to solve my issue, like overriding the hostname of the 
/recompile-requester/ 
URL?

Many thanks for any hint,

Kind regards,

KK.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to