Have you tried the new 'javac server' in JDE?  Customize the variable
jde-compiler, and select 'javac server'.  It uses the bean shell to compile,
which means that the JVM to compile is always running (essentially, 'always
having a compiler running'). Compiling is virtually instantaneous, and javac
will compile any dependencies (also instantaneous).  It does automaticallly
compile when you save, but that would be easy to rig -- just add a
jde-compile call to the save hook.  The compilation is not incremental, but
most of the cost of compiling is starting up the JVM.  Using an already
running JVM, it's almost instantaneous.  No real need for incremental
compilation, IMHO.

One caveat:  In the current version of JDE, the javac server is not
completely compatible with JDEBug.  You might not be able to debug stuff
compiled with javac server.  When that happens, I recompile with the normal
'javac executable' option and debug.

Steve Molitor
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 8:58 PM
To: JDE Mailing List
Subject: Incremental java building..


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


OK. I am working on this consulting gig and all the other Java people are
using
Visual Age for Java.

They have a feature that I REALLY like.

Inremental compilation.

They import projects an source and they ALWAYS have a compiler running.  The
only difference is that this is an incremental compiler.

AKA it runs at regular intervals (when they save files) and tries to
recompile
all dependencies.

Has anyone thought of a jike ++ integration (jikes supports a ++ option to
enable incremental compilation).

The only problem would be update the jde-db-source-directories variable.  If
the user adds other directories this we would need to update the running
versions of jikes.

Any thoughts???

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED] )
             Location - San Francisco, CA, Cell - 415.595.9965
        Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The right of the people to be secure in their persons, homes, papers, and
effects, against unreasonable searches and seizures, shall not be
violated...



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77H3iAwM6xb2dfE0RAiZJAKCAOelHADPOdofKiLEdvLarCOT0SACfSc2/
yF1zOG2pmQCeA/vpLPGAANs=
=Djpg
-----END PGP SIGNATURE-----

Reply via email to