Archive for the ‘java’ Category

henplus needs commons-lang 1.0

Friday, January 11th, 2008

For a long time, I use the command line jdbc client henplus. Unhappily, the last release is now “old” and uses libraries which becomes older and older.

For example, it requires commons-cli 1.0 … But for few days, the commons-cli package provided by debian is now the release 1.1. The henplus debian package is no longer buildable. If henplus is already installed, it fails to start and exits silently after displaying the usage help.

So .. I’m using the following workaround :

  • Download the commons-cli 1.0 binary files
  • Install the commons-cli-1.0.jar in a good place
  • Start henplus (or make the needed script) with : CLASSPATH=/path/to/commons-cli-1.0.jar henplus

Installing the commons cli jar into the .henplus/lib directory doesn’t fix the problem. The CLASSPATH isn’t built in the required order for that.

Ivy moved to Apache incubator

Friday, January 12th, 2007

The Apache Software Foundation accepted the Ivy project into the Apache incubator.

The Ivy web site is now http://incubator.apache.org/ivy/.

CruiseControl 2.6-dev debian package

Thursday, January 4th, 2007

After … a long year .. here is a new CruiseControl debian package : cruisecontrol 2.6+svn20061226.

Some changes :

  • debian/rules is now based on cdbs
  • several fixes into cruisecontrol command line and init.d scripts
  • uptodate dependencies

SerializerTrace not found by Ant

Friday, November 10th, 2006

If Ant gives a such error message (especially with the style task) :

java.lang.NoClassDefFoundError: org/apache/xml/serializer/SerializerTrace

you just need to create a symbolic link into /usr/share/ant/lib to include the /usr/share/java/serializer.jar jar file.

Statistics and Commons Configuration 1.3 for FreeCast

Sunday, October 8th, 2006

A FreeCast tracker can now publish network statistics via several ways : a XML file provided by a http servlet like icecast2 does or various consumers why can publish statistics in a file, a database or a command execution.

I’m trying to integrate rrdtool but for the moment, the resulted graphs aren’t very smart :-/

I integrated the latest commons-configuration release to use the new CombinedConfiguration (which merges Hierarchical and Composed configurations). A feature which was required to load cleanly the statistics consumers configuration.

Java Swing wizard framework

Saturday, September 30th, 2006

By looking for a solution to create smart wizards for FreeCast setup, I found wizard-framework. It’s an interessant wizard framework for Swing GUI. The API provides in few classes many interesting features. Additional examples would be welcome (and some need an update).

The integration into FreeCast is pending.

Mylar, Eclipse plugin for tasks

Tuesday, September 26th, 2006

The Mylar Eclipse plugin help you to use your Eclipse in a per-task approach.

For example, you’re working on a new feature, you have a dozen of opened files. A co-worker comes with a production bug and you need to look another part of the project. And ten minutes later, you’re back to your feature. But you need five minutes to close and reopened editors and find again your code because nothing help you to switch context in Eclipse.

Watch the Mylar screencasts and see what this plugin can provide to your workspace … and like me, you should install and test it quickly ;-)