Create the java-imports file automatically