Re: jde-eclipse-compile-server and compiled class files.

Ke Lu <[email protected]> Sat, 24 Nov 2007 14:44:55 +0900
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
<[email protected]> writes:

> --- Yee Keat Phuah <[email protected]> wrote:
>
>> Hi,
>> 
>> I am using the jde-eclipse-compile-server.el plugin.
>> What a wonderful godsend.
>> But now I realized that if I add a function to
>> file1.java, and then
>> switch to file2.java, the function will not be
>> visible and will be
>> marked as invalid.
>> Since ecj have already compiled file1.java, I should
>> be able to get it
>> to go inside the classpath directly. I have looked
>> into the source
>> jde-eclipse-compile-server.el but to no avail. Have
>> anybody
>> accomplished this before?
>> 
>> Cheers,
>> Phuah Yee Keat
>> 
>
>
> I've not tried it, but does it work if you call
> jde-compile-update-class-list after compiling file1?

You can try to invoke the following two functions
after compiling any file?

(jde-wiz-update-class-list)
(jde-complete-flush-classinfo-cache)

But this makes classinfo-cache have no means.