java: start adapting the ant build file for the module.