Generates the build.xml file automatically