At 08:54 AM 5/18/00 -0400, you wrote:
>I am moving from 2.1.5 to 2.1.6-beta23 using jdk1.2 and cygwin. I pulled all
>the jde project stuff out of my .emacs and made sure that I have no old
>prj.el's
>around.
>
>I set up my paths and set dependency checking on. The compile is finding my
>existing classes, but will not automatically recompile required files.
-Xdepend
>is in the javac command line.
>
>I'm obviously just screwing up something in my setup.
>
Not necessarily. The dependency checking done by javac has one goal to
ensure that the class currently being compiled is correct. This is a
different and less ambitious goal from that of ensuring that an application
is being compiled correctly. A class will be compiled correctly if the
class from which it is derived and classes that it directly references are
current. Besides compiling the current class, the compiler will only
recompile the classes needed to meet the goal of correct compilation of the
current class. This is not sufficient to ensure that the project is in a
correct state. For example, suppose that class A invokes a method m1 of an
object of class B which is derived from class C. Suppose you make a change
to C that invalidates B but you forget to recompile B and C. Now suppose
you make a change to A. For your application to work correctly, all three
classes need to be recompiled. However, since A only directly references B
and B has not changed, C never gets recompiled. The moral of the story is
that the only way to guarantee that your application is built correctly is
to recompile every class.
- Paul
------------------------------------------------------------
TECH SUPPORT POLICY
I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html