Author Archive

GlassFish v3 Prelude is out

Thursday, November 6th, 2008

GlassFish v3

Great news today as GlassFish v3 Prelude is out!

You can grab it now from https://glassfish.dev.java.net/downloads/v3-prelude.html.

This preview release is very appealing. GlassFish is becoming increasingly popular, and this release will certainly contribute to this trend.

BTW expect me to release a Prelude installer based on IzPack soon ;-)

Subversion + Git: when to choose one or the other?

Wednesday, October 29th, 2008

You may have read from my recent posts that I have started to play with Git in conjunction with Subversion for working on IzPack.

Having a distributed SCM tool (here Git) that is able to work with a central repository (here SVN) is a huge advantage as it gives you more flexibility workflow-wise. Think branches, commit as you go, interact with non-commiters, etc.

I am however no fanboy: I still see value in Subversion and its centralized model. Much like I advocate polyglot programming, I advocate polyglot SCM :-) If you are not convinced, try something like Mercurial for yourself: it has many merits such as fitting the requirements of a large majority of projects, or being way easier to use than Git.

After a few weeks of practice, I have now my mind clear on which use-cases fit better than others for Git or Subversion. This is biased to the way I work on IzPack, but I suppose that this applies well to most other projects.

  • Create stable release branches and tags.
  • Merge changes from a stable branch back to the trunk.
  • Apply a patch that someone attached to a JIRA issue and that won’t need rework.

  • Create new features: work on a topic branch, commit often, keep synchronized with SVN and merge back to it when no more polishing is needed.
  • Interact with external contributors. They can just clone from SVN, or clone my Git branch that I keep synchronized with SVN.
  • Do some work offline. The “work offline” is certainly over-exaggerated by distributed SCM proponents, but there are times where it actually happens.
  • Work on many things at the same time, Git branches and stash-ing really help.

Do you have similar feelings with both tools used in a project?

Wordpress cleanups

Wednesday, October 29th, 2008

I have just refreshed the Wordpress installation of this blog.

First of all I must admit that I am tired of having to upgrade Wordpress so often. They should really think about squashing security leaks for real so as to ease it off.

The most visible change is that I have switched to the default Wordpress theme. I really find it clean and smooth, so who cares? :-)

I have also integrated reCAPTCHA for posting comments. Even with Akismet, I am still getting lots of spam comments that get in and I am really tired of removing them everyday. Sorry guys for the inconvenience, but I assure you that reCAPTCHA is not too painful ;-)

IzPack and Java Web Start

Tuesday, October 28th, 2008

Many people have been offering their IzPack-based installers through Java Web Start (one well-know example is JBoss AS). This can be handy at times: you just click on a link/button on a webpage then Java Web Start downloads the installer and runs it for you. No need to download, double-click on the JAR, etc.

Offering an installer through Java Web Start is not very complicated, yet you may not be familiar with how it works. Especially, you may not know how to create that JNLP file that makes it all possible.

I have created a tool, now in the project Subversion trunk, that I called izpack2jnlp. It is written in Python. All you need to do is to pass it a bunch of arguments and it will create the JNLP file for you.

Once this is done, you only have to sign your installer JAR file then upload the files (installer JAR + JNLP file) to the right place so that the URLs match the codebase argument that you gave to izpack2jnlp.

You can already grab and test this tool from:

Do not hesitate to propose enhancements :-)

L’intelligence renouvelée

Tuesday, October 28th, 2008

Bravo Motorola ;-)

http://direct.motorola.com/CFN/motoq9/q-home.asp?Country=CNA&language=CFN&productid=30722+http%3A%2F%2Fdirect.motorola.com%2FCFN%2Fmotoq9%2Fq-home.asp%3FCountry%3DCNA&language=CFN&productid=30722

(merci Pierre pour le lien !)