ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Problems with the javac task.
Date Fri, 29 Sep 2000 09:28:52 GMT
>>>>> "PN" == Peter Nordlund <peter.nordlund@lentus.se> 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

Mime
View raw message