Paul Kinnucan wrote:
Raul Acevedo writes:
> On Wed, 2004-10-13 at 01:14 -0400, Paul Kinnucan wrote:
>
> > * Update the class list used by completion and by code generation
> > wizards after compiling a class or building a project. This
> > should ensure that completion and the wizards work for new
> > classes and changes to existing classes after compiling
> > new or changed classes.
>
> This is extremely slow on large projects, even if I'm just compiling a
> single class. I'm assuming that's because it's updating everything in
> the class path. If so, can it be changed to only update the class that
> was just compiled? And until that happens, how can I disable it and run
> it manually when necessary? It takes about 30 seconds right now.
>
Hi Raul,
I'll see if I can get the first approach to work. Meanwhile, you can
easily disable this feature by removing je-compile-finish-update-class-info
from jde-compile-finish-hook.
Hi Paul,
I've sent you an extension to the java part of JDEE in November 2003.
It may help solve this problem.
AFAIR, you didn't include this change in JDEE.
I introduced the method JdeUtitities.updateClassList(String path),
which updates only the given path. The idea was to call the method
after compiling with jde-compile-option-directory as argument.
There were a couple of other java related changes in this mail.
I don't remember all the details.
The code may well be out of date, but anyway, if you want,
I can re-send the mail or only the relevant part of it.
Martin
Paul