Mike Schilling wrote:
>>> ... recompile too), curse a bit, delete all the .class
>>> files, and rebuild the whole thing.
Arne Vajh�j wrote:
>> Many people make a clean target in build.xml !
Mike Schilling wrote:
> I always do, for several reasons; the above is one of them. My
> comment was a complaint about the fact that the <javac> task is
> *almost* good enough to handle dependencies, but not quite. When I,
> for instance, get a batch of newer source code from the SCM system, I
> always do a clean build, since there's no way to be sure it isn't
> necessary, and I don't want to waste time with spurious problems from
> not building clean when it was required.
Lending weight to that already well-founded conclusion, if you use an IDE
it
often really helps clear up the IDE's own internal state and coherence
after a
fresh checkout (or update) to do a clean build.
--
Lew


|