updates to documentation

also removed code duplication in ant build file.