title: Ant built does not generate class files
body: <p>I'm using build.xml to build my src. However it failed to generate class files without any error message. The full script is</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  
  &lt;project name="auxiliary" basedir="." default="dist"&gt;
  
  &lt;property name="src.dir" value="../auxiliary-src/com/nextbio/drugbank"/&gt;
  &lt;property name="dist.dir" value="dist"/&gt;
  &lt;property name="lib.dir" value="../jboss_config/common_app_jars"/&gt;
  &lt;property name="temp.dir" value="temp"/&gt;
  &lt;property name="foo_dist.dir" value="../foo/dist"/&gt;
  
  &lt;path id="libs-classpath"&gt;
      &lt;fileset dir="${foo_dist.dir}"&gt;
              &lt;include name="foo.jar"/&gt;
      &lt;/fileset&gt;  
  
  &lt;/path&gt; 
  &lt;target name="dist" depends="auxiliary-dist" /&gt;
  
  
  &lt;target name="auxiliary-cleanup"&gt;
          &lt;delete dir="${temp.dir}"/&gt;
          &lt;delete dir="${dist.dir}"/&gt;
          &lt;echo message="cleaned up. ${temp.dir}, and ${dist.dir} have been deleted."/&gt;
  &lt;/target&gt;
  
  &lt;target name ="auxiliary-dist"&gt;
  
      &lt;delete dir="${temp.dir}"/&gt;
      &lt;echo message="delete ${temp.dir}" /&gt;
          &lt;mkdir dir="${temp.dir}"/&gt;
  
      &lt;javac destdir="${temp.dir}" source="1.6" target="1.6" debug="on" fork="true" memorymaximumsize="1024m"&gt;
          &lt;src path="${src.dir}"/&gt;
          &lt;classpath&gt;
              &lt;path refid="libs-classpath"/&gt;          
          &lt;/classpath&gt;
          &lt;include name="com/car/**"/&gt; &lt;!-- troubled line --&gt;
  
      &lt;/javac&gt;
      &lt;!--&lt;copy overwrite="true" todir="${temp.dir}"&gt;
          &lt;fileset dir="${src.dir}"&gt;
              &lt;exclude name="**/*.java"/&gt;
              &lt;exclude name="**/*.sql"/&gt;
              &lt;exclude name="**/*.txt"/&gt;
          &lt;/fileset&gt;
      &lt;/copy&gt; 
       &lt;delete dir="${dist.dir}"/&gt;
       &lt;mkdir dir="${dist.dir}"/&gt;
       &lt;jar destfile="${dist.dir}/auxiliary.jar" basedir="${temp.dir}"/&gt; --&gt;
  
  &lt;/target&gt;
  </code></pre>
  
  <p></p>
  
  <p>There is no class file in ${temp.dir} after this step, and no error message. I double checked it, and found it is because of the "troubled line". I tried to add some files to the classpath. I don't know why it is wrong. </p>