Added an ant build file and a maven pom file, fixed some code that ecj
accepted but javac disapproved of.