RE: Incremental java building..

2001-11-10 Thread Molitor, Stephen

Some people have been experimenting with invoking Ant via the bean shell
JVM.  Some patches have been submitted; I haven't tried the latest ones.
You might want to search the archives on this subject.

Steve Molitor
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 5:12 PM
To: Molitor, Stephen
Cc: JDE Mailing List
Subject: Re: Incremental java building..


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Molitor, Stephen [EMAIL PROTECTED] writes:

 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.

OK.  I will play with this.  The one thing I think is that for good
incremental
compilation the stats need to be exposed to the user.  Need to thing of a
good
UI here..

 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.
snip

Seems like a good idea to be able to use jde-make or je-ant along with it.  

- -- 
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 worse thing in life is to fall short!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77bPFAwM6xb2dfE0RAm41AKCGc5uCmtHs67gSuwVQVEoIGbLNQQCgo6O3
8yWIYqnmna1WWcA/Owcr1i4=
=hlCo
-END PGP SIGNATURE-



RE: Incremental java building..

2001-11-10 Thread Javier S. López

If you configure the variable compilation-ask-about-save to nil,
whenever you compile the current buffer gets save automatically, so no
need to save. But if you want the other way around, adding a hook to the
save works as well.

Javier

 -Original Message-
 From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 10, 2001 6:22 PM
 To: Molitor, Stephen; '[EMAIL PROTECTED]'
 Cc: JDE Mailing List
 Subject: RE: Incremental java building..
 
 Just read my first message, made a typo.  Correction:  the JDE does
NOT
 automatically compile when saving, but it would be easy to implement
that
 feature.
 
 Steve Molitor
 [EMAIL PROTECTED]
 
 -Original Message-
 From: Molitor, Stephen
 Sent: Saturday, November 10, 2001 5:20 PM
 To: '[EMAIL PROTECTED]'
 Cc: JDE Mailing List
 Subject: RE: Incremental java building..
 
 
 Some people have been experimenting with invoking Ant via the bean
shell
 JVM.  Some patches have been submitted; I haven't tried the latest
ones.
 You might want to search the archives on this subject.
 
 Steve Molitor
 [EMAIL PROTECTED]
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 10, 2001 5:12 PM
 To: Molitor, Stephen
 Cc: JDE Mailing List
 Subject: Re: Incremental java building..
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Molitor, Stephen [EMAIL PROTECTED] writes:
 
  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.
 
 OK.  I will play with this.  The one thing I think is that for good
 incremental
 compilation the stats need to be exposed to the user.  Need to thing
of a
 good
 UI here..
 
  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.
 snip
 
 Seems like a good idea to be able to use jde-make or je-ant along with
it.
 
 - --
 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 worse thing in life is to fall short!
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
 
 iD8DBQE77bPFAwM6xb2dfE0RAm41AKCGc5uCmtHs67gSuwVQVEoIGbLNQQCgo6O3
 8yWIYqnmna1WWcA/Owcr1i4=
 =hlCo
 -END PGP SIGNATURE-




RE: Incremental java building..

2001-11-10 Thread Javier S. López

The new beta includes the option to use Ant server(customize
jde-ant-invocation-method), it uses the beanshell to call ant. It has
been only tested with Ant 1.4, but it should work with 1.3 as well. 

Javier

 -Original Message-
 From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 10, 2001 6:20 PM
 To: '[EMAIL PROTECTED]'
 Cc: JDE Mailing List
 Subject: RE: Incremental java building..
 
 Some people have been experimenting with invoking Ant via the bean
shell
 JVM.  Some patches have been submitted; I haven't tried the latest
ones.
 You might want to search the archives on this subject.
 
 Steve Molitor
 [EMAIL PROTECTED]
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 10, 2001 5:12 PM
 To: Molitor, Stephen
 Cc: JDE Mailing List
 Subject: Re: Incremental java building..
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Molitor, Stephen [EMAIL PROTECTED] writes:
 
  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.
 
 OK.  I will play with this.  The one thing I think is that for good
 incremental
 compilation the stats need to be exposed to the user.  Need to thing
of a
 good
 UI here..
 
  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.
 snip
 
 Seems like a good idea to be able to use jde-make or je-ant along with
it.
 
 - --
 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 worse thing in life is to fall short!
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
 
 iD8DBQE77bPFAwM6xb2dfE0RAm41AKCGc5uCmtHs67gSuwVQVEoIGbLNQQCgo6O3
 8yWIYqnmna1WWcA/Owcr1i4=
 =hlCo
 -END PGP SIGNATURE-




Re: Incremental java building..

2001-11-10 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Molitor, Stephen [EMAIL PROTECTED] writes:

 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.

OK.  I will play with this.  The one thing I think is that for good incremental
compilation the stats need to be exposed to the user.  Need to thing of a good
UI here..

 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.
snip

Seems like a good idea to be able to use jde-make or je-ant along with it.  

- -- 
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 worse thing in life is to fall short!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77bPFAwM6xb2dfE0RAm41AKCGc5uCmtHs67gSuwVQVEoIGbLNQQCgo6O3
8yWIYqnmna1WWcA/Owcr1i4=
=hlCo
-END PGP SIGNATURE-