On Tue, 12 Jun 2001 12:46:55 -0400, [EMAIL PROTECTED] wrote:
> Jikes also has an incremental compilation mode that you may want to look
> into.
> Basically, you run jikes with the list of files you want compiled, and
> give it the incremental mode flag. After it has compield the files you
> have given it, the process stays alive and attached to stdin and keeps a
> bunch of info related to the class heirarchy loaded in memory. When you
> have made your changes and are ready to recompile, you just hit enter in
> the console you started jikes in and it recompiles whatever needs to be.
This is an amazing feature, I didn't realize jikes had this feature!
An easy way to hook this up to emacs would be to have emacs tell jikes
to recompile each time a Java file is saved. This could use the prj.el
file to determine the top directory of a project, and from there all
the Java files belonging to that project. You could suddenly have all
the files compiled as you press C-x C-s!
This should be *much* faster than running the Java compiler, even if
this is run within BSH. I noticed jikes is also able to do
dependencies on jar files, not only on class files, which is really
nice.
One issue with this might be the debugging support, as I understand
jikes doesn't generate the kind of debugging information needed by
JPDA. But this should go away with further development on jikes.
Regards,
Ovidiu