For Programmers: Free Programming Magazines  


Home > Archive > Java Help > August 2005 > Re: Im getting frustrated and angry!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Im getting frustrated and angry!
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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com