[MF] Moved adding of source to compileJava to after the java generated

Change-Id: I0e515f28a20ecd7e7392bfce2837bbfd92c76de2