I'm still pretty enthusiastic about the benefits of templating [1] GWT UIs with HTML as it turns out to be a productive way for altering UIs without going through a tedious compilation and deployment procedure. HtmlUnit 2.9 is a great java browser for integration-testing Ajax applications. It works fine with GWT and we use it … Continue reading Missing history update when clicking on links in GWT and HtmlUnit unittests
Category: programming
Eclipse 3.7, SVNKit, Ubuntu 64bit
Maybe it is my impression, but the combination mentioned in the title just does not work. After a successful synchronization with the repository Eclipse will insist that there are still local changes, but SVN will refuse to commit them. When forcefully committed (overwrite and commit) the repository will claim to have changes which however don't … Continue reading Eclipse 3.7, SVNKit, Ubuntu 64bit
Spring @PathVariable mapping incomplete path when dots are included
In all my projects this happens at least once, and I'm surprised over and over again: a controller will not map just anything to @PathVariable by default. Contrary to intuition, the annotation's argument is a regular expression which excludes some characters per default. For instance the url http://localhost:8080/myapp/api/user/testuser@example when mapped to a controller: @RequestMapping(value = … Continue reading Spring @PathVariable mapping incomplete path when dots are included
Adding foreign language dictionaries to Eclipse text editors and mylyn
This article [1] says it all, but here again for greek and linux: sudo apt-get install aspell aspell-el gawk aspell dump master el | awk -F/ '{print $1}' > dictionary_el.txt And then in Eclipse : Window -> Preferences -> General -> Editors -> Text Editors ->Spelling Add dictionary_el.txt as a User Defined Dictionary Update 28.12.2011 … Continue reading Adding foreign language dictionaries to Eclipse text editors and mylyn
NPE when starting Google Dev Mode
After setting up a new Eclipse instance, checking out my current GWT project it's time for a first test, so I fire up the DevMode and: NullPointerException at SwingUI(42) That particular class is part of the GWT DevMode and tries to load an image from the class path by requesting it from SwingUI's class loader … Continue reading NPE when starting Google Dev Mode