Download NetBeans!

20070929 Saturday September 29, 2007

Hello Hudson

I've been looking at setting up continuous builds for the JFugue Music NotePad via Hudson. Definitely haven't figured it all out yet, but I've definitely come some of the way already. The absolute bible for all of this in relation to the NetBeans Platform is the perfectly titled Continuous Testing of NetBeans Platform Based Applications. It is definitely the one you want to refer to from start to finish. I had everything in there set up, up to the part where Hudson starts being used. This already looks quite impressive, I feel:

So, to start off, I got the hudson.war and downloaded it into my GlassFish domain's 'autodeploy' directory:

Then when I started up the server, inside the IDE, I could see a node for Hudson, indicating that it was deployed:

(Yes, Hudson is nothing more than a web application.) That was encouraging, especially when I went to http://localhost:8080/hudson/ and immediately saw what I would expect to see:

And all that had taken a couple of minutes. After that it got tougher. One thing I learned is that I automatically had home/geertjan/.hudson as my home directory, which is hidden, i.e., this is on Ubuntu Linux. There I saw the following, at the start, without doing anything myself:

Now, some time later, I do have builds taking place and a few other things that I configured making sense, so that I now have a small set of build results, although the workspace gets built, instead of the application, which means I need to reconfigure some things to get this part right:

At the very least, this is helping me in demystifying how NetBeans IDE gets built, since it also makes use of Hudson:

Hope I'll be able to get further with this, if only to understand how it works. One way to do so is... to open Hudson in the IDE, as a web application, which is what it is:

Sep 29 2007, 12:21:09 AM PDT Permalink