[EMAIL PROTECTED] wrote:
> It's also why Ant cannot handle the following case unless you do a full,
> clean build:
>
> 1. write the following classes
> class A {
> void foo() { }
> }
>
> class B extends A {
> void bar() { foo(); }
> }
>
> 2. build and run: everything is fine.
>
> 3. now change A as follows:
>
> class A {
> void foo(int i) { }
> }
>
> 4. build with Ant and only A gets rebuilt (as it is the only out-of-date
> source file)
>
> 5. run and you will get a java.lang.NoSuchMethodError
BTW : Would javac be able to handle this?
But, and that could be *very* interesting, I found this:
http://code.werken.com/javad/
This seems to be a dependency analyzer written in Java, but it's been
released under a BSD-like license. However, this "acknowledgment
clause" has been changed (note the "but do not require"):
> In addition, we request (but do not require) that you include in the
> end-user documentation provided with the redistribution and/or in
> the software itself an acknowledgement equivalent to the following:
>
> "This product includes software developed by
> The Werken & Sons Company (http://www.werken.com/)."
> Alternatively, the acknowledgment may be graphical using the logos
> available at http://www.werken.com/pix/werken-digital.gif
I didn't try it, so I can't say whether it works or not.
--
(o_ Raffael Herzog
//\ [EMAIL PROTECTED]
V_/_
May the penguin be with you!