Android ant build: how to run android upload and not update build.xml, proguard.cfg
<p>0 down vote favorite</p>

<p>I am running the standard ant script 'build.xml' which gets created when you run the 'android create project' command. In order to verify my local.properties is set correctly, I added a task at the beginning of the build.xml script to run the command:
android update project -p .</p>

<p>I now get this message each time I run the ant script:
'File build.xml is too old and needs to be updated', </p>

<p>which clobbers my build.xml file and creates a proguard.cfg file.!!!</p>

<p>So, I moved the ant script to a different file that won't get clobbered.</p>

<p>Is there a way to run the command 'android update project -p .' that doesn't clobber build.xml and create proguard.cfg?</p>
