Generate java source dir like other