title: How do I build an Android project using Ant? (IntelliJ IDE)
body: <p>I've a project in the IntelliJ IDEA IDE and I want to set up a parallel, production Ant build process that I can extend over time.</p>
  
  <p>I have used IntelliJ's feature to create an Ant build file, and it is on the Build menu, so the Ant build process is running, and working within the IDE. All good.</p>
  
  <p>But the Ant script IntelliJ has created is only compiling to class files, and is not doing a full Android build process through to an APK (as far as I can tell).</p>
  
  <p>Can you point me towards a reference source (or an example) to help me understand how to get an ANT script doing a full build of an Android project?</p>
  
  <p>If you know, would also be v useful to know how to then extend it to include Proguard, production signing, and inserting the production Maps key :)</p>