title: Ant: failed to create task or type runtarget
body: <p>I am running into the following error when trying to run ant:</p>
  
  <blockquote>
    <p>Problem: failed to create task or type runtarget</p>
  </blockquote>
  
  <p>I am building on a mac 10.8.3.</p>
  
  <p>Prior research has suggested that I add ant-contrib-0.3.jar to my ANT_HOME installation directory, which I have done (that had actually gotten rid of another 'failed to create task or type' error)</p>
  
  <p>I used ant-contrib-0.3.jar because research suggested that this jar is mapped to the line:</p>
  
  <p></p>
  
  <ul>
  <li>&lt; taskdef resource="net/sf/antcontrib/antcontrib.properties" /></li>
  </ul>
  
  <p>which is in the build.xml file I am using.</p>
  
  <p>The project builds on windows machines ( I even got it to build using <a href="https://code.google.com/p/winant/" rel="nofollow">https://code.google.com/p/winant/</a> ) but am trying to get it built on a mac. I am thus not looking to change the build.xml file.</p>
  
  <p>An example of the run target line is:</p>
  
  <pre><code>&lt;target name="setPASProps" depends="" description="setup the properties"&gt;
      &lt;property name="systemname" value="PAS"/&gt;
      &lt;runtarget target="setSystemProps"/&gt;
  &lt;/target&gt; 
  </code></pre>
  
  <p>Here is some info from running ant -diagnostics</p>
  
  <pre><code>-------------------------------------------
   ANT PROPERTIES
  -------------------------------------------
  ant.version: Apache Ant(TM) version 1.8.2 compiled on June 20 2012
  ant.java.version: 1.7
  Is this the Apache Harmony VM? no
  Is this the Kaffe VM? no
  Is this gij/gcj? no
  ant.core.lib: /usr/share/ant/lib/ant.jar
  ant.home: /usr/share/ant
  -------------------------------------------
   ANT_HOME/lib jar listing
  -------------------------------------------
  ant.home: /usr/share/ant
  ant-antlr.jar (5756 bytes)
  ant-contrib-0.3.jar (17708 bytes)
  ant-jmf.jar (6745 bytes)
  ant-junit.jar (102350 bytes)
  ant-junit4.jar (7126 bytes)
  ant-launcher.jar (12321 bytes)
  ant-swing.jar (7563 bytes)
  ant-testutil.jar (15198 bytes)
  ant.jar (1937098 bytes)
  </code></pre>
  
  <p>Thanks !</p>