title: How to recompile with -Xlint:unchecked in Ant build task?
body: <p>When I run the "compile" target of my Ant "build.xml" file, then I get the following message:</p>
  
  <pre><code>Note: Some input files use unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  </code></pre>
  
  <p>My compile target is the following:</p>
  
  <pre><code>  &lt;target name="compile"&gt;
      &lt;javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" debuglevel="lines,source" includeantruntime="false"&gt;
        &lt;classpath refid="class.path" /&gt;
      &lt;/javac&gt;
      &lt;javac srcdir="${test.dir}" destdir="${classes.dir}" debug="true" debuglevel="lines,source" includeantruntime="false"&gt;
        &lt;classpath refid="class.path" /&gt;
      &lt;/javac&gt;
    &lt;/target&gt;
  </code></pre>
  
  <p>What do I have to change in my build.xml file so that <strong>-Xlint:unchecked</strong> is done there?</p>