Skip to main content

Posts

Showing posts from 2007

13949712720901ForOSX (we want Java 6 on MacOS X)

Last week, Apple publishede a new release of its famous MacOS. But... why?.... don't uderstand... where is Java 6? It seems to be an Apple decision not to include Java on its new platform. By the way, Henry Story invited all blogger to put an entry in their blog to protest against this situation.

So : 13949712720901ForOSX

http://blogs.sun.com/bblfish/entry/vote_for_java6_on_leopard
http://www.javalobby.org/java/forums/t103042.html

Agile project management

Here is an article (in french about a project management approach). I just read a few words about it but it seems to be interesting. My opinion is that a project manager has to be a "real" member of his team and not upon it. When I was team leader, I tried to be like that : a "real" member. In fact, this project was good and work was efficient. It was a "real" team.

http://www.valtech-mag.com/mag/fr/1.html

Managing text encoding in Java properties files

Something interesting when you write a software is to translate it. Java has this feature embedded. You simply have to write properties files and use a resource bundle to extract texts in your program. Consult ResourceBundle class javadoc for more information about how to proceed.

Something else very ineresting in about properties file encoding. Java specification supposes this sort of files to be written in ISO-8859-1. Oops! What about translating my software into japaneese? No problem, you cas use "unicode" codes in your files.

For exemple, to translate é, replace it by \u00E9 in your properties file. You can consult www.encoding.org for more informations aboiut encodings.

Thus, if you want to retreive characters codes, I propose you think excellent web page (in french) :
http://hapax.qc.ca/conversion.fr.html

Calendar OGNL expression for Luntbuild

Wow, that's my first message with year that I started with Luntbuild. I looked for an ognl expression to preform build only in a specific time range.

So, after reading the documentation and surfing on forums, I found the class OGNLHelper on Luntbuild CVS repository. Bingo!

Here is a exemple of a expression that returns true in a specific time range :
(system.getHour() in {0,1,2,3,4,5,6})

In this example, build will be done betwenn midnight and 6:00am.