title: Why does ant compile all classes each run?
body: <p>I'm more accustomed to make, so I'm confused why ant recompiles classes when the source hasn't been changed. I've read that there is a requirement to recompile in some cases where generics are used, but I'm not sure that this will be necessary for my project.</p>
  
  <p>Also, in the javac task, I've set includeDestClasses="true" </p>
  
  <p>Here's some of the targets I'm using</p>
  
  <pre><code>&lt;target name="init"&gt;
          &lt;mkdir dir="${build}"/&gt;
          &lt;mkdir dir="${dist}"/&gt;
      &lt;/target&gt;
      &lt;target name="compile" depends="init,util,semantics" description=""/&gt;
      &lt;target name="util" depends="" description=""&gt;
          &lt;javac destdir="${build}" classpath="project.class.path" debug="on" srcdir="${src}/util" includeDestClasses="true" source="1.5"&gt;
              &lt;classpath refid="project.class.path"/&gt;
          &lt;/javac&gt;
      &lt;/target&gt;
  </code></pre>