title: ant cannot identify my jar files at all
body: <p>I have my jar files in Assignment2\lib folder and my build file is in Assignment2. The name of the jar file is Assignment1.jar The following is how I tried to compile my Assignment2 from build file through ant.</p>
  
  <pre><code>&lt;project name="Assignment1" default="run" basedir="."&gt;
      &lt;property name="classes" value="classes" /&gt;
      &lt;path id="project.class.path"&gt;
          &lt;pathelement location="src"/&gt;
          &lt;pathelement path="${java.class.path}/"/&gt;
          &lt;pathelement path="${additional.path}"/&gt;
      &lt;/path&gt;
      &lt;path id="lib.jars"&gt;
          &lt;fileset dir="lib" includes="**/*.jar" /&gt;
      &lt;/path&gt;
  ......
  &lt;target name="compile" description="compaling java files with Assignment2"&gt;
          &lt;mkdir dir="build"/&gt;
          &lt;javac srcdir="src" destdir="build" debug="on" failonerror="true"&gt;
              &lt;classpath refid="project.class.path"/&gt;
              &lt;classpath refid="lib.jars"/&gt;
          &lt;/javac&gt;
      &lt;/target&gt;
  &lt;Project/&gt;
  </code></pre>
  
  <p>I am getting compile errors. I'm using windows. Is that the problem? Is there any way to compile?</p>