Re: flymake integration for the eclipse java compiler

Jason Coffin <[email protected]> Wed, 25 Apr 2007 15:05:13 -0400
Newsgroups gmane.emacs.jdee
Message-ID <20070425190513.GA5048@localdomain>
On Wed, Apr 25, 2007 at 07:44:58AM -0700, Suraj Acharya wrote:

> >Thank you Suraj!
> >
> >I'm trying to use this with GNU Emacs 22.0.95.1 on Windows and I get
> >this error when I start emacs:
> >
> >error: Given parent class jde-compile-compiler is not a class
> >
> >Any ideas?
> >

> jde-compile-compiler is defined in jde-compile.el. If you load jde
> before jde-eclipse-compiler-server, it should fix the problem.
> 
> I'll add a (require 'jde) to the top of jde-eclipse-compiler-server.el too.
> 
> Suraj

Thank you again Suraj. That worked.

Is there a way to get this to work with jde-flymake to use the
class/source paths set up in jde variables (prj.el)? It doesn't seem
to recognize them now.

I also noticed that using Windows Emacs 22.0.95.1 I can get flymake
to work but only when using jde-ecj-flymake-init not when using
jde-ecj-server-flymake-init I'm not sure what is wrong, my beanshell
environment seems to work fine. There are no error messages, flymake
just won't highlight my syntax errors.