Save generated java code into project resource so Eclipse can compile it.