Re: flymake integration for the eclipse java compiler
"Suraj Acharya" <[email protected]> Wed, 25 Apr 2007 14:16:24 -0700
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
On 4/25/07, Jason Coffin <[email protected]> wrote: > 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. It's supposed to pass jde-global-classpath to the compiler. Did that not work automatically? What did you have to do to setup the classpath. > 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. Try setting flymake-log-level to 3, the output of the compile process and other stuff should be logged to the *Messages* buffer. That should give you some indication of what is going wrong. Suraj