Just a remarque about ant task Edouard, do you plan to split it into a smallest granularity. Maybe more utility class are need !
If you want I can work on it : One thing that could be externalyse in the file location for example
A good thing would be also to handle the project with Maven.
I have already split the main 'build.xml' file into several parts...
The project is allready mavenized. I add a project.xml in the root dir and the next command line generate the jar :