I just posted Hudson 1.40. This includes one of the biggest changes I made in Hudson, namely to ditch JSP/JSTL in favor of Jelly.
I've never been truly happy with JSP (and consequently any technologies built on top of it, including JSF and things like that.) It felt very anti object-oriented, because in JSP and their siblings, pages are always the king and the data is the servant. You write,...
on Aug 8, 2006
Prequels: This Trip and Tick series kicked off with
Checking out a java.net project
and continued with
JooJ up your project page with a Web Start demo.
I dunno if it's just me, but the few times i've tried to setup a new java.net project,
that is to get my Netbeans project/source and the java.net CVS married and
checked in, i seem to struggle for hours. But no more! Today we gonna make it...
on Aug 3, 2006
A new Hudson user jglick filed a whole bunch of RFEs against Hudson (often with patches.) Michael Vorburger also sent me several suggestions. These made me renew my energy toward improving Hudson.
One of many improvements that came out of this is to speed up CVS changelog computation. When you are doing a continuous build, every build usually contains only a small number of changes. In Hudson 1...
on Jul 26, 2006
Right now I am developing plugins-module for Greenbox Framework, and I spent so many times to discover how NetBeans works internally, its details, and a lot of related issues.
Ofcouse, I lot of users and customers asked me for an Eclipse Version, and I am trying to do almost the same, but NetBeans and Eclipse are completelly different platforms. Then all work I spend on NetBeans, anybody else...
on Jul 7, 2006
I got an email on Friday from a chap in Italy asking where he could
find a document on how to run aptframework
in Netbeans, which is like pressing not one but two or three, of my JButtons simultaneously,
and which has led to me to writing this blog article. I'm sure he'll be watching
Italy in the World Cup Final this weekend, rather than doing anything else,
but anyway here goes.
Let's say you...
on Jul 7, 2006
How much time do you need to assemble and configure a usable java development environment with the regular tools a java developer needs to start coding ? Well, you can cut some time here, by using a Linux LiveCD with Java Tools, just boot it up and your initial java environment is ready to the first javac.
This LiveCD is very useful when:
Your laptop refuses to work for you ,
If you did some...
on Jun 25, 2006
Writing a serious, consistent, nice-looking documents in HTML is hard. CSS improves the situation a bit, but it's still very painful. For example, suppose if you are writing a release note like this, and you want to do:
Generate the navigation bar in multiple pages
Have the same footer for all documents
If you can do the equivalent of JSP tag files (which lets you define your own tag, which...
on Jun 7, 2006
A recent technical paper on java.sun.com, Implementing Service-Oriented Architectures (SOA) with the Java EE 5 SDK, details the background concepts and describes the language constructs for developing SOA composite applications on the Java EE 5 platform. As an example, the article uses a sample app that's based on a loan-processing use caseone that includes HTTP/SOAP binding components and...
on Jun 7, 2006
Several years ago, I switched from Emacs to Eclipse. It was a bit
painful at first, but Eclipse had two killer features that, once I
discovered them, I could not live without.
Refactor -> Rename
I have since come to love Eclipse for many other features, small and
large, but those were the ones that made me switch. The instant
productivity gain was worth the...
on Jun 7, 2006
"There is no problem that cannot be solved by the use of high explosives."
Recently I was tasked with making an app translatable. It was a relatively small Swing app, e.g. 200 classes.
That means moving strings, like exception messages, into a resource bundle. I had some fun with a phased approach, which I present here.
Moving the strings
"The best armor is staying out of gun-shot...
on May 26, 2006
In the preceding blogs "Java is all you'll ever need" and "A Fool's Errand" I alluded to using Java for "small tasks" eg. file/system tasks, rather than shell scripts. I promised to present some examples along these lines.
This is Chapter 1 of many, and presents a basic design. We'll thrash it out in subsequent chapters.
My motivation for trying to move away from shell...
on May 24, 2006
A reader commented to my blog "Java is all you'll ever need" that "anyone thinking he needs only a single tool to do any job is a fool." That would be me. So lemme introduce you to this fool's errand...
Of course we need more than one tool. But it depends what you define as a "tool." Every library is arguably a different tool. So then a programming language is a tool to write tools (libraries...
on May 19, 2006
If you're not familiar with NetTool, visit nettool.org for an overview. But essentially, NetTool is a set of utilities for debugging web & network applications, especially HTTP-based apps (such as web services). There are two main components: a HTTP Client (analogous to a web browser), and a TCP Tunnel.
Since version 4.2.0, the following features have been added:
Configurable via properties...
on May 16, 2006
There are many discussions around: which is the best IDE? From my current point of view: take any of these and be happy! Really.
When still working in the Java area, I was used to NetBeans. Many of my collegues used Eclipse, the rich ones used IDEA. Of course, we flamed and discussed a lot about it. IDE is religion.
Nowadays, I have to work with C#/C++ on .NET1.1. The tool of choice: Visual...
on May 16, 2006
In his blog, Damien Katz wrote on "Signs you are a crappy programmer, and don't know it." At the top of the list is "Java is all you'll ever need." Since i'm guilty of that, here is my response - why i choose not to add other languages to my toolbox.
So you have some system task to do. This is where you jump into vi and hack together a bash, python or perl script to accomplish this task in...
on May 15, 2006
As some of you may have noticed, Glassfish has started putting a lot of interesting jars to the maven java.net repository. To do this I had to enhance the daemon program that runs behind it, and since I exnteded it, I also updated maven java.net plugin to 1.7.
This version has the following improvements:
Supported javanet:deploy-java-source target, which uses the source plugin and deploys the...
on May 11, 2006
I just posted Hudson 1.28.
My group uses Hudson for all sorts of projects now, in particular testing. Thus many recent improvements to Hudson is in this area.
Build status used to be just "success" or "failure". A new state "unstable" is introduced to indicate that a build was OK but tests failed. Hudson got a bit more colorful :-)
Test results are displayed inside Hudson, with sortable tables...
on May 5, 2006
Health warning: the italic text is just me rambling and so should probably be skipped.
Today was a lovely sunny day in johannesburg, as usual! i'm in "joburg" visiting family (for a month or two), which is perfect timing, with Netbeans Day being today in joburg!
As agreed with my mother (the one with the car), i was up at 7am so as to be ready to leave at 730. (My mother was up at 5am for gym...
on May 5, 2006
I'm sure I'm the last Mac Java developer here to figure this out so I'm posting it not so much for you but for future generations intrepid googlers to find.
How to get Netbeans code completion with Javadocs to work in Mac OS X
Netbeans is a great IDE and I'm really starting to warm up to it (starting to warm up to IDEs in general, actually). One of my big complaints so far has been the lack of...
on Apr 30, 2006
I was going through old email, and my friend Jesse had pointed up my friend Jarda's commit log message as a candidate "Most Poetic Commit Log of the Year Award". What's the most amusing commit message you've read but neither incited nor written yourself? Here's Jarda's:
Hopeless in my own destiny, strugling to really improve the speedup of startup at least a bit, but always loosing my...
on Apr 29, 2006