As more and more open-source projects from Sun are migrating to Mercurial, it's just a matter of time before I need Mercurial support in Hudson.
So I've been working on Mercurial plugin for Hudson, and today I posted the first version. It supports all the basic operations, like polling, check out/update, changelog computation, etc. It requires Mercurial 0.9.4.
With Mercurial, the act of check...
on Aug 11, 2007
Two weeks ago I've reported that Hudson has been recently getting many new plugins from the community. The trend continues and we are getting even more plugins.
Hafner Ullrich has been working on the findbugs plugin. He had his first version already released, and he's busily working toward the next version — I'm seeing new commits from him almost every day.
Ramil Israfilov has written the...
on Aug 3, 2007
I just released a new version of Hudson (1.122.) Along with the usual bug fixes and improvements, this version includes one note-worthy feature, which is what I call "matrix project."
Here's how this new job type is typically useful. Let's say you are developing the JAX-WS RI. This project needs its tests to run on many different environments. We need to test on Solaris, Linux, and Windows. We...
on Jul 27, 2007
I noticed that nice folks at Stelligent are talking about using Gant inside Hudson. They are saying that to run Gant you'd need to run a shell script and then invoke Gant. They then digress to work around a problem that can be more easily fixed by using cd before invoking Gant.
But anyway, I believe things should be easy and intuitive, so I thought maybe I'd just write a plugin to integrate...
on Jul 17, 2007
The last week saw three additions to the growing list of Hudson plugins.
One is the clover plugin by Stephen Connolly. Stephen has been hacking the Hudson core code seriously as well.
Nigel Daley has posted the plot plugin. This plugin provides a generic plotting capability, and can be used to keep track of anything — jar file size, # of bug fixes, anything. So it's handy if you'd like...
on Jul 15, 2007
Someone posted an article on Hudson Wiki that explains how to drive Lava lamps based on Hudson build status.
I've done a bit of extreme feedback device myself, but the great thing about this article is that it doesn't require any electronics experience. You just buy a few stuff (the total cost is $60), and that's it. Controllers attached to lava lamps communiate to the computer by radio, too,...
on Jun 25, 2007
Bonjour, comment Java?
What is the fastest way to install the latest Solaris on a Mac/Intel?
If you have parallels installed, then get an image of Solaris Express
Developer Edition at http://www.sun.com/download/products.xml?id=461d6b7d
Assuming you have a correct internet connexion to download the image
(in 4 compressed files and an easy to use script to automatize the
installation), you'll be...
on Jun 20, 2007
Java.net recently posted an article called "Top 50: Interview with Kohsuke Kawaguchi of the Hudson Project". I always enjoy doing this kind of things, because I can really say anything I want. If you enjoy reading it, you might like my previous one, too.
Hudson apparently continues to gain more traction. In the May 2007 top project ranking at java.net, It's ranked at #7 in mail traffic and cvs...
on Jun 17, 2007
Ivy is an increasingly popular dependency management tool. It lets your (Ant) build script downloads library jars from other places, much like Maven. The part that I like about Ivy is that it doesn't try to be everything, unlike Maven. Since I just wasted almost 3 hours trying to get the maven-assembly-plugin to create a convenient all-in-one JAX-WS commons bundle (and in the end blocked by...
on Jun 11, 2007
Some open source projects have excellent documentation (Spring and Hibernate come to mind). Some have none at all. Others are somewhere between the two extremes.
How much do you really need for your project (enterprise or open source)? What is the audience of your technical documentation? Is it an online community or hundreds or thousands of developers, or is it for the developers who will be...
on May 24, 2007
Last year I attended NetBeans Software day, a day that preceded the official opening of the 2006 JavaOne Conference. For that session, Sun booked a medium size meeting room in the Argent Hotel (now rebranded the Westin Hotel on Market Street) in San Francisco. When the attendees finished filing into that room it was full to overflowing.
Learning it's lesson, this year Sun put on NetBeans...
on May 7, 2007
I was working on one of our NetBeans demos for Monday's Matisse session and it occurred to me. I was actually having fun putting together a little program! I grabbed some of our cool little beans from SwingLabs then wired them up to some text fields using zero code. Just binding expressions created visually using NetBeans M9. It was really easy and kinda fun. Beans binding makes the beans we've...
on May 3, 2007
Often you are in a situation where need to convert a file://... URLs to java.io.File object. Doing this correctly is not trivial (and I still don't know what I'm writing here is the correct way.)
The first code I tried (which I saw somewhere a long time ago) is...
File f = new File(url.getPath());
This actually works for simple cases, like for file:/path/to/abc (which is actually a malformed...
on Apr 25, 2007
I just posted the Hudson 1.104 release. It's been a while since 1.103 — that is, 5 days — so this release contains a large number of changes.
A large portion of the work is related to the native maven2 integration.
For example, starting this version, Hudson automatically puts the build number and Hudson project name into the jar/war/ear files that are created in Maven. This is often...
on Apr 22, 2007
I use NetBeans. I like it. I encourage people to use it.
But I am not happy about their handling of "Open Project ..." Dialog. I have checked both NetBeans 5.5.1 RC1 and NetBeans 6.0 daily downloads.
The dialog looks like this (click to enlarge).
I have seen several developers double-click a project folder expecting it to just open the project and finding that it just opens the folder because...
on Apr 20, 2007
I set up the following mirrors for java.net maven repositories:
For the java.net m1 repo, use http://download.java.net/maven/1/
For the java.net m2 repo, use http://download.java.net/maven/2/
The mirror sites are synchronized with the masters. You can also browse them more easily unlike the master java.net m2 repository, mirrors are generally faster in my experience, plus mirrors are HTTP-...
on Apr 19, 2007
An interview, Meet Peter von der AhÃ©, Tech Lead for Javac at Sun Microsystems, I did with Peter, Sun's tech lead for javac, discusses the Kitchen Sink Language, the Java Compiler API, and new ways of thinking about generics, reification, type inference for local variables, and lots more. If you want to experiment with javac, check out the Kitchen Sink Language.
Peter has a lot to say:
on Apr 12, 2007
Hudson continues to keep me busy. So here are some of the recent developments.
First, I just hit the release 1.100, which is 101st release of Hudson. I think that's a lot of releases. Generally speaking, I think "release early, release often" is a good thing, but OTOH I also realize that taking time to shake off bugs while holding off (potentially de-stabilizing) new features have...
on Apr 11, 2007
Today, Geir Magnusson Jr., the Apache Software Foundation's VP of Java Community Process, issued an "Open Letter" to Sun Microsystems, addressed to Jonathan Schwartz. I put "Open Letter" in quotes because it reads like an ultimatum demanding a license they like to the Java SE 5 technology compatibility kit within thirty days (or else).
This request/ultimatum seems to have...
on Apr 10, 2007
Curious how much Java is a test-driven technology ?
Few words for a background.
The Java TM Compatibility Kit (JCK) is
a test suite, used to
verify if the Java standard is correctly implemented. The first JCK
came out together with the first JDK from SUN, now this effort evolved
into the industry-wide Java
The JavaTest TM harness is a test
monitor, used in first versions of JCK...
on Apr 9, 2007