title: Skip Eclipse validation of build.xml
body: <p>I've followed the steps given in <a href="http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html" rel="nofollow noreferrer">the Android Developer Blog</a> to generate a build.xml for building releases for an Android Application. I need to do a custom compiling so I have overwritten the target compile of the ant_rules_r3.xml as it is said in the generated build.xml.</p>
  
  <pre><code> &lt;target name="compile" depends="-resource-src, -aidl, -pre-compile" ...
  </code></pre>
  
  <p>The script works fine and generates the apk, but the problem is that Eclipse shows an error because it cannot find targets <code>-resource-src</code>, <code>-aidl</code> and <code>-pre-compile</code> (which are loaded when executing the script but are not really present on the build.xml). As there are these errors I cannot work with the project in Eclipse.</p>
  
  <p>How can I skip the validation of this single file in Eclipse?</p>