David Chandler's Journal of Java Web and Mobile Development

  • David M. Chandler

    Web app developer since 1994 and Google Cloud Platform Instructor now residing in Colorado. Besides tech, I enjoy landscape photography and share my work at ColoradoPhoto.gallery.

  • Subscribe

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 223 other followers

  • Sleepless Nights…

    December 2010
    S M T W T F S
  • Blog Stats

    • 1,029,897 hits

Archive for December, 2010

How to find all available settings in .gwt.xml

Posted by David Chandler on December 20, 2010

One fairly well-known trick to speed up GWT compilation during development is to compile for one browser only by setting the user.agent property in your .gwt.xml. For example, to compile a permutation for Chrome / Safari only, use:

<define-property name="user.agent" values="safari"/>

Ever wondered where to find more such properties you can experiment with? Available properties are defined in .gwt.xml files in the GWT source. A simple way to find them all is to browse GWT source, then search for “define-property”. For example, you’ll see that UserAgent.xml contains this:

<define-property name="user.agent" values="ie6,ie8,gecko,gecko1_8,safari,opera"/>

Of if you prefer the command line, you can check out GWT source from SVN, then run

find . -name *.gwt.xml | xargs grep define-property

Happy sleuthing…

Posted in Google Web Toolkit | 9 Comments »

GWT DevMode Plugin Now Available for Chrome on Mac and Linux

Posted by David Chandler on December 8, 2010

Finally, I can show my browser in public again while doing GWT demos 🙂


Posted in Google Web Toolkit | Leave a Comment »

Fun with GWT

Posted by David Chandler on December 2, 2010

From the GTUG-BH/Brazil and IGenesis comes an arcade emulator written entirely in GWT.

GWT Phoenix is <100kB of JavaScript and complete with sound thanks to gwt-voices.

Happy gaming!

Posted in Google Web Toolkit | 4 Comments »

%d bloggers like this: