del.icio.us
Me
Archives
Meta
Monthly Archives: July 2009
Using JavaRebel with Cocoon
Normally, the cocoon-maven-plugin includes a reloading classloader, so that changes to class files are automatically picked up when do mvn jetty:run. Just hit refresh and your changes get picked up. It’s just like working in PHP. This is OK, but … Continue reading
Documenting with maven
Recently, I’ve been thinking about documentation more and more. I’ve just finished up some documentation for an internal product, which was all done using the maven-site-plugin and APT. This worked reasonably well: I get a generated website, with javadocs and … Continue reading
jslint4java 1.3.1
I’ve just released jslint4java 1.3.1. This is mostly thanks to Ari Shamash, who did an excellent job of telling me what needed to be done to get NetBeans to understand the output. The changes are small, but probably worth upgrading … Continue reading
jslint4maven
A real maven plugin for jslint4java would be nice. I will write one, but until then, you can always get away with using the antrun plugin. This is fairly simple to do now that jslint4java is available in the central … Continue reading
jslint4java 1.3 post-release notes
These are the things I had to do after releasing. Firstly, I needed to create a source archive as well as the main distribution archive. Git archive makes this super-easy. $ git archive –format=zip –prefix=’jslint4java-1.3/’ rel-1.3 >jslint4java-1.3-src.zip Secondly, I had … Continue reading
Conditional maven modules
This is a little something that’s now caught me out a few times. Quite often, I’ll have a project with a parent POM, and a module that I only care about in certain circumstances. So I naturally do this. <!– … Continue reading
jslint4java 1.3
I’ve finally released jslint4java 1.3. It’s available for download from google code. The user visible improvements are few. Better documentation. The indent option is supported. Add getEdition() call. The ant task can now work with any kind of nested resource, … Continue reading
Search & Replace in XSLT 2
For a project at $WORK, we want to implement Solr’s spelling suggestions. When you ask solr to provide suggestions, it comes back with something like this (the original search was spinish englosh): <response> … <lst name="spellcheck"> <lst name="suggestions"> <lst name="spinish"> … Continue reading
Solr's Lucene Source
I’m debugging a plugin for Solr. I’ve just about got the magic voodoo set up so that I can make Eclipse talk to tomcat and stick breakpoints in and so on. But I’ve immediately run into a problem. Even though … Continue reading
To XHTML or not to XHTML?
Today, we had a conversation about HTML 4 vs XHTML 1.0. For me, the matter was neatly settled they very first time I saw an XML system produce XHTML like this: <p>An article with an <em/> empty emphasis tag.</p> Perfectly … Continue reading