ant: Write file by hand

The eclipse created one does not compile the code.