Added support for generation of the java package folders.