These 4 files (build.xml, local.properties, projects.properties, proguard.cfg) are auto-generated when running:
android update project --name TestApp --t
Maybe you can check the answer to this question:
Does the ADT plugin automatically create an ant build file?
in the answer there is a paragraph saying...
Alternatively, you can just copy the build.xml template directly from $ANDROID_HOME/tools/lib/build.template then just change the project name.
Modify this file and run the commands to see if it works.
Update
Also check "Customizing the build" of this article: http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html