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

Cache collision and ehcache spring annotations module

If you are looking for a way to implement declarative caching with Spring, there is no way around Ehcache Spring Annotations [1]. This superimposes a transparent aspect on methods of any proxied bean, taking the method arguments as a key. Little known but easy to stumble upon [2] is an implementation (design?) quirk which expects … Continue reading Cache collision and ehcache spring annotations module