| Dale King 2005-08-24, 7:00 pm |
| hawat.thufir@gmail.com wrote:
> Dale King wrote:
> ....
>
>
> ....
>
>
> What's meant by correctness?
It's in the paper I linked to which calls it "safeness", but to
summarize it basically means that if I change some files and invoke the
builder then it must give you the same result as you would have gotten
by building from scratch.
Ant using just the javac task definitely does not achieve that and it is
trivial to produce a case that shows this as I have done in this thread.
Using the depends task will handle some more modifications but doesn't
handle changes in static final constants.
Using the JavaMake task does achieve "correctness" at the expense of
efficency. In cases like public static final constant being changed it
punts and rebulds from scratch.
I saw in another thread that the Eclipse compiler can be run as a
separate tool and has an Ant task. I need to investigate how it performs.
--
Dale King
|