title: AntBuilder can't find package org.junit
body: <p>I added some unit tests to a test directory (parallel to my src directory) in my project in Eclipse using the "JUnit test case" new file dialogue. I have two builders, the default Java Builder and an AntBuilder I added. The Java Builder continues to work, but the AntBuilder fails in Eclipse. When I select Project -> Build All, it displays this:</p>
  
  <pre><code>Buildfile: C:\source\machine-paint\eclipse\machine-paint\src\build.xml
  
  clean:
        [delete] Deleting directory C:\source\machine-paint\eclipse\machine-paint\build
  
  compile:
         [mkdir] Created dir: C:\source\machine-paint\eclipse\machine-paint\build\classes
         [javac] Compiling 33 source files to C:\source\machine-paint\eclipse\machine-paint\build\classes
         [javac] C:\source\machine-paint\eclipse\machine-paint\test\stencil\BorderWalkerTest.java:3: error: package org.junit does not exist
         [javac] import static org.junit.Assert.*;
         [javac]                        ^
  </code></pre>
  
  <p>and then after a few similar errors, this:</p>
  
  <pre><code> [javac] C:\source\machine-paint\eclipse\machine-paint\test\stencil\BorderWalkerTest.java:8: error: incompatible types
         [javac]  @Test
         [javac]   ^
         [javac]   required: Annotation
         [javac]   found:    Test
  </code></pre>
  
  <p>Here's my build file. At this point I'm really firing in the dark, such as adding that classpath tag to the javac command.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project name="Builder" default="jar" basedir="."&gt;
    &lt;target name="clean"&gt;
      &lt;delete dir="build"/&gt;
    &lt;/target&gt;
  
    &lt;target name="compile" depends="clean"&gt;
      &lt;mkdir dir="build/classes" /&gt;
      &lt;javac srcdir="." destdir="build/classes" debug="true" includeantruntime="true"&gt;
        &lt;classpath&gt;
          &lt;path id="org.junit" location="c:/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/lib/junit.jar" /&gt;
        &lt;/classpath&gt;
      &lt;/javac&gt;
    &lt;/target&gt;
  
    &lt;target name="jar" depends="compile"&gt;
      &lt;jar destfile="../../stencil.jar" basedir="build/classes"&gt;
        &lt;manifest&gt;
          &lt;attribute name="Main-Class" value="stencil.Main" /&gt;
        &lt;/manifest&gt;
      &lt;/jar&gt;
      &lt;copy file="../../stencil.jar" tofile="../../../robotsdoart/stencils/stencil.jar" /&gt;
    &lt;/target&gt;
  
    &lt;target name="run"&gt;
      &lt;java jar="build/jar/stencil.jar" fork="true" /&gt;
    &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>