title: How to specify base dir then we run ant like ant -f somedir/dir/build.xml
body: <p>How to specify base dir then we run ant like <code>ant -f somedir/dir/build.xml.</code>
  Ant sets basedir relative to build.xml, if I specify </p>
  
  <pre><code>&lt;project basedir="." ..&gt;
  </code></pre>
  
  <p>I would like to have basedir pointed to place where Ant is executed.</p>