>>>>> "PN" == Peter Nordlund <[EMAIL PROTECTED]> writes:

 PN> Below follows a little example that at least point out one
 PN> strange behaviour with the javac task.

[...]

 PN> So although ant says that 2 files are compiled, it compiles 3,
 PN> which I think it shouldnt.

Nothing strange at all. B depends on A so javac compiles it as
well. Just try javac B.java BB.java on the command line, it will
compile A as well.

The excludes tag will exclude A.java from the command line passed to
javac but not prohibit javac from compiling the file if it feels it
needs to.

Stefan

Reply via email to