mercredi 4 avril 2007

libhibernate-java Take 2

As I already wrote (it was the take 1), I'm working on packaging Hibernate (then Spring, then Jboss, then Jonas but dont' tell, it's the secret plan!).

The first step has been done, #386100 (ITP: c3p0) is pending. I uploaded it to experimental because it needed a method in that is only in gcj experimental.

The next step is to package cglib (#386101). I discover cglib embed asm in its jar and change the package name of the classes. The tool used to do that is called jarjar from Tonic Systems. So I have to package it first (#417591). I'm not sure it's a very good idea and I started a discussion in the cglib forum... and one of the developers already answered... FLOSS is too cool ;-). I'll try to see if it's possible to package both jars (one with asm, the other one without it).

Michael Koch and I discussed about the name of the package: jboss-hibernate. And we concluded that we'll call the source package the same name the binary package: libhibernate-java. I retitled #385569.

After that, there will still be two blocking bugs to package libhibernate-java:
  • #386102: ITP: javassist -- library for editing bytecodes in Java;

  • #386103: ITP: ehcache -- distributed cache library;