Posts tagged: hosted mode

Google Web Toolkit, Ubuntu Hardy and Hosted Mode

Following on from my saga of the overheating Acer Power 2000, I decided to go back to running Ubuntu Hardy Heron and only run Windows XP in Virtual Box for the few bits and pieces I couldn’t run using Wine or CrossOver Office. This move worked out pretty good, except for problems I was having getting GWT’s hosted mode browser to show the project I was working on. The console launched, the browser launched, and then nothing. No error message. Nothing. A compilation with the shell script worked fine, but it’s a real pain to have to recompile a project just to check the look and feel.

First I thought it could be because I was using GWT-Ext. The solution they give is to include the javascript files in your module instead of the HTML page.
http://gwt-ext.com/forum/viewtopic.php?f=9&t=2277

Alas, it didn’t help.

Then I stumbled across the solution here:
http://markmail.org/message/4kpni2fnicj4hykt

Basically, I keep all of my source code on a removable USB hard drive. The hard drive is formatted with FAT 32. In order for the hosted mode browser to work, you need to edit /etc/fstab to mount the drive with slightly different parameters.

I thought this would be worth a try, so I created a fstab entry:

/dev/sdb1 /media/Elements vfat rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,utf8,shortname=mixed,umask=077,usefree

Et Voila! The hosted mode browser works absolutely fine.

{lang: 'en-GB'}

WordPress Themes