ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jeroen" <15082...@student.eur.nl>
Subject odd behaviour?
Date Wed, 04 Oct 2000 14:41:12 GMT
In a directory I have a buildfile and a directory called samples containing
sources of samples programs.
When I use the following task to compile the samples everything works fine,
this means that only files that are changed or that were not compiled before
are compiled.

<target name="samples" depends="init">
  <javac srcdir="."
          destdir="."
      classpath="${classpath}:."
        includes="samples/**/*.java"/>
</target>

But when use the following task ALL source files are compiled everytime I
call the task!

<target name="samples" depends="init">
  <javac srcdir="./samples"
          destdir="."
      classpath="${classpath}:."
        includes="**/*.java"/>
</target>

Why is there this difference?

greetings jeroen


Mime
View raw message