title: Javac exclusion of package in ANT build.xml
body: <p>I'm trying to compile all my packages except two of them, here is what my javac in build.xml looks like</p>
  
  <pre><code>&lt;javac srcdir="${src}" destdir="${output}" debug="${debug}" failonerror="yes" &gt;
      &lt;exclude name="com/abc/uyyy/**"/&gt;
      &lt;exclude name="com/abc/zzz/**"/&gt;
      &lt;include name="com/abc/zzz/Text.java"/&gt;
      &lt;patternset refid="excluded.from.compilation.abc"/&gt;
      &lt;classpath refid="abc.module.classpath"/&gt;
  &lt;/javac&gt;
  </code></pre>
  
  <p>But all the files in package are compiled :(.</p>
  
  <p>I've read the documentation (<code>http://ant.apache.org/manual/Tasks/javac.html</code>), but still no success, any help?</p>
  
  <p>NOTE: After the Text.java is compiled, I need to build the WSDL file and then build the excluded packages. I'm using Metro to write and build my WS.</p>