https://bz.apache.org/bugzilla/show_bug.cgi?id=62544

--- Comment #1 from Stefan Bodewig <[email protected]> ---
For better or worse, this is how patterns work in Ant.

  <target name="compile2">
    <copy file="${ant.home}/lib/ant.jar" todir="."/>
    <echo file="Test.java">import org.apache.tools.ant.types.*; public class
Test {}</echo>

    <javac srcdir="." destdir="." includeantruntime="false">
      <classpath>
        <fileset dir="." includes="ant.jar"/>
      </classpath>
    </javac>

    <delete file="Test.class"/>

    <javac srcdir="." destdir="." includeantruntime="false">
      <classpath>
        <fileset dir="." includes="./ant.jar"/>
      </classpath>
    </javac>
  </target>

will tell you ./ant.jar doesn't match either.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to