Kazandjian Erik <[EMAIL PROTECTED]> wrote:
> But could you give me a smart suggestion on the recompile issue ?
Apart from the FAQ entry (it is there 8-) ?
Ant expects a specific layout of source files to work properly:
(1) Your directory hierarchy mirrors your package hierarchy.
(2) You point Ant to the top of that hierarchy.
So, if you have <javac srcdir="src" destdir="dest"/> and Ant finds a
file src/a/b/C.java, it expects it to be in the package a.b - thus it
looks for dest/a/b/C.class to see whether it has to recompile it.
The "Ant always recompiles" question usually means, your source tree
is not organized the same way Ant expects it to be.
Stefan