rewritten build.xml