GWT 2.7 and MGWT 2.0 with GWT-PhoneGap

182 views
Skip to first unread message

confile

unread,
Oct 27, 2014, 11:02:58 AM10/27/14
to google-web-tool...@googlegroups.com
GWT 2.6.1 works perfect with MGWT 2.0 but when it comes to GWT 2.7 I had some problems. 

I use it as Daniel described in his blog post (http://blog.daniel-kurka.de/2012/07/mgwt-super-dev-mode.html).

Usually, when I develop on iPhone I have a Safari Console running for my app. With GWT 2.6.1 I could hit refresh to reload the app (index html page). With GWT 2.7 this does not work anymore. 

Als MGWT provides a popup:



When I press "Super Dev Mode On" it does not always compile. Most of the time it stucks and the popup shows "Compiling <module name>". 

Compared with GWT 2.6.1 it works very unstable with MGWT and GWT-PhoneGap.



Could you please explain what we have to change in order to make GWT 2.7 working with MGWT 2.0 and GWT-PhoneGap?

Katharina Fahnenbruck

unread,
Oct 27, 2014, 12:17:10 PM10/27/14
to google-web-tool...@googlegroups.com
Hi,
here is the documentation for running SuperDevMode with PhoneGap:

confile

unread,
Oct 27, 2014, 1:07:10 PM10/27/14
to google-web-tool...@googlegroups.com
Great thank you Katharina. It works fine. 

When my code server starts I get the following output: 

Turning off precompile in incremental mode.
Super Dev Mode starting up
   workDir: /var/folders/xh/1xkfq26532j97q23qw5pdhs40000gn/T/gwt-codeserver-7987266074037967516.tmp 



What does it mean? Is this correct?

confile

unread,
Oct 27, 2014, 1:19:04 PM10/27/14
to google-web-tool...@googlegroups.com
Compilation takes about 0,099s when there is nothing to recompile. It still takes a lot of time to send the files to my phone. In my case Safari console showns that 12,7MB are transferred after each reload.


Am Montag, 27. Oktober 2014 17:17:10 UTC+1 schrieb Katharina Fahnenbruck:

Jens

unread,
Oct 27, 2014, 1:42:33 PM10/27/14
to google-web-tool...@googlegroups.com
Compilation takes about 0,099s when there is nothing to recompile. It still takes a lot of time to send the files to my phone. In my case Safari console showns that 12,7MB are transferred after each reload.

The size is "normal" as no optimizations are done. Maybe you are better off using the iOS simulator instead and only occasionally try the app on a real phone?

For our desktop app Safari shows some hefty 75 MB with SDM so feel lucky that it is only ~13 MB :)

-- J.

confile

unread,
Oct 27, 2014, 3:37:46 PM10/27/14
to google-web-tool...@googlegroups.com
For me it turns out that GWT 2.7 is much faster in compiling but much slower in loading the app than GWT 2.6.1.
Reply all
Reply to author
Forward
0 new messages