This question is only marginally Linux related, but since Linux javac
is so slow, it's a special concern for us :-)

>I have been trying to get javac (1.1.7 for linux) to recompile only
>those java-files newer than their class-files.

This stuff doesn't work very well. javac -depend is undependable, and
jikes' isn't much better.

If you're using jikes and you have a reasonably sized sourcebase,
you're better off just recompiling all the files everytime rather than
trying to selectively compile a subset.

I have a 20000 line project in 100+ files. Compiling everything with
jikes one file at a time takes about 2 minutes. Compiling them all in
one command takes 10 seconds. Compiling *two* files seperately takes
about 15 seconds - so for me, compiling everything everytime is better
than even trying to figure out which two files have changed.

                                                  [EMAIL PROTECTED]
.       .      .     .    .   .  . . http://www.media.mit.edu/~nelson/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to