I migrated my GWT classic dev mode to super dev mode and configured every think in GWT 2.5.1 rc.While launching its compiling the application but when i hit the hostpage(html) its not loading the content.Apart from this is there any think i need to configure ?
Related
I'm doing some tests with web_socket_channel Flutter plugin and I've noticed a very strange behavior. I've implemented flutter-dev's example, just changing the socket kind to HtmlWebSocketChannel in order to make it work in web builds. If I compile my app with flutter build web --release and later I expose it with a local webserver, it works perfectly fine. Same happens if I execute it in debug mode.
add network permission in mainfest.xml
I'm developing a Vaadin widget and I'm having problems with GWT's superDevMode. Yesterday I had a bug which did not show up when setting Dev Mode On (using the bookmark), but did when setting Dev Mode Off.
Today I have unwanted behaviour when setting Dev Mode On, while with Dev Mode Off the behaviour is as expected.
Does anyone have a clue what might be causing this? Maybe a compiler setting?
Turned out the problem was that I forgot to recompile the WidgetSet in Eclipse before starting the server, so when loading the page (before setting Dev Mode on) the WidgetSet would not have the latest changes. When setting Dev Mode on, the WidgetSet would be recompiled and thus incorporate the latest changes.
I am using GWT 2.6.1 and I want to debug my application as it was before in Eclipse 4.4 (Luna).
When I start debugging in Classic Dev Mode, I get a white blank screen on Chrome. When I open debug screen in Chrome, I see the error message : " Failed to load resource: net::ERR_CONNECTION_REFUSED".
How can I debug in old fashioned way?
Thx in advance.
HDayi
The Dev Mode plugin has been deprecated a long time ago for both chrome and firefox.
If you really want to keep using the old dev mode, the only browser that will allow you to use it right now is Internet Explorer.
If you can, you should consider switching to the all new GWT 2.7 which contains significant improvement to the super dev mode that replaces the old hosted mode, with greatly improved recompilation times.
I'm attempting to get Drag and Drop working in IE9 using the native GWT drag and drop events. (Naturally, it works perfectly fine in all browsers except IE9)
I had a few issues which I ironed out working in Dev mode. However, when outside dev mode it doesn't work. So I put in this piece of code:
Window.alert("supported DnD: "+com.google.gwt.event.dom.client.DragDropEventBase.isSupported());
It says "True" when running in dev mode, but "False" when not running in dev mode!?
Does anyone know why this is, if GWT 2.5 just does not support DnD in IE9? Or if there is some way I can fix it. It must be theoretically possible since it's working fine in dev mode.
Ensure that you are running the sample code in the same browser and document mode in Hosted and Production mode. Also keep in mind GWT teams recommendation. https://developers.google.com/web-toolkit/doc/latest/DevGuideIE9
Ensure IE9 is not running under some IE8/IE7 compatibility mode.
For IE7 and IE8 the feature is disabled.
Reference:
http://code.google.com/p/google-web-toolkit/source/detail?r=10138
https://groups.google.com/d/topic/google-web-toolkit/0MkjaHsVfO4
GWT Team Test URL: http://gwt-cloudtasks.appspot.com
GWT Team Sample Code: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/src/main/java/com/google/gwt/sample/mobilewebapp/client/desktop/DesktopTaskEditView.java
How can I debug a GWT app (in GWT Dev Mode) using a browser on an Android device or emulator?
Details follow:
I am trying to use deferred binding to serve up a different view for mobile devices. I'm creating a proof of concept app app based on the GWT MobileWebApp sample.
I have installed the Android SDK and plugin in Eclipse. When I launch the Android emulator and input my URL the mobile webkit browser hits my GWT app (running in Eclipse) but complains about not having the GWT Developer Plugin. Doh!
Is compiling and running in Production Mode my only option? How can I debug?
Ideas and input greatly appreciated!
There is no GWT Development Mode plugin for Android (emulated or otherwise). Minimize your compile time by limiting to the Android user.agent property to make testing easier.