title: Absolute paths in Ant property file
body: <p>I have a property file containing absolute paths to jars etc. When using these properties they are prefixed with the basedir specified in the build file. <strong>How do I get the absolute path?</strong></p>
  
  <p>build.properties:</p>
  
  <pre><code>mylib=/lib/mylib.jar
  </code></pre>
  
  <p>build.xml:</p>
  
  <pre><code>&lt;project name="myproject" basedir="."&gt;
    &lt;property file="build.properties"/&gt;
    ...${mylib}...
  &lt;/project&gt;
  </code></pre>