del.icio.us
Me
Archives
Meta
Monthly Archives: February 2009
Cocoon Settings
I’ve been looking quite extensively at the cocoon-spring-configurator, trying to work out how to make it fit into our preferred java webapp config scheme: context-params. By default, cocoon-spring-configurator just reads Properties files. The complete list of property files that cocoon-spring-configurator … Continue reading
UrlEncodedQueryString
UrlEncodedQueryString represents a www-form-urlencoded query string in Java. I can’t tell you how many times I’ve needed this in the past. Perl has the lovely URI::QueryParam. In fact, I’ve got a fairly close cousin of this class in use at … Continue reading
Cocoon sitemap variables
Whilst dragging myself through an issue for a client last night, I found another cocoon feature I wasn’t aware of: sitemap variables. Of course, I’d seen Input Modules before, in fact I’ve written one. They’re nice and simple and look … Continue reading
Removing Byte Order Marks
I keep getting sent files, which are encoded in UTF-8, but include a BOM. Which is completely unnecessary. Thankfully, it’s pretty easy to remove with vim. Just load up the file and type in :set nobomb (docs for the bomb … Continue reading
Eclipse Update Failure
I’ve just hit the “update everything” button in my Eclipse install. All seemed well until I restarted it and got a message about a shared library not being found. Looking in Console.app showed this lovely little line: 09/02/2009 14:33:07 [0x0-0x1ef1ef].org.eclipse.eclipse[43353] … Continue reading
Searching through all revisions
A colleague was asking: I’m trying to work out a technique for searching for an occurrence of a phrase in _all_ revisions of a specific file in a subversion repository. How can I do this? Of course, in subversion, the … Continue reading