title: ant junit reference not found
body: <p>I am trying to compile junit java files using ant, but I am getting,</p>
  
  <pre><code>package org.junit does not exist
  [javac] import static org.junit.Assert.*;
  ...
  </code></pre>
  
  <p>And, this is my part of build.xml,</p>
  
  <pre><code>&lt;javac debug="true" includeantruntime="false" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}"&gt;
          &lt;src path="test"/&gt;
          &lt;classpath refid="MyProgram.classpath"/&gt;
      &lt;/javac&gt;
  
    &lt;path id="MyProgram.classpath"&gt;
     ...
     &lt;pathelement location="lib/junit.jar"/&gt;
     ...
  </code></pre>
  
  <p>Is there anything wrong with this?</p>
  
  <p>Thanks.</p>