Yee Keat Phuah [firstname.lastname@example.org]:
After understanding more about the problems that I was facing previously while using jde-eclipse-compiler-server, realized that the hack it does to the comint-mode might be causing the problem. I have reverted to use the one-invocation-per-flymake method, which is documented as the first way to use jde-eclipse-compiler-server with flymake in the source file.
There's a bug in the first method though, the classpath is not passed into the ecj.jar correctly, here's a patch that fixed it for me:
--- jde-eclipse-compiler-server.el.orig 2007-12-10 09:43:51.101262700 +0800
+++ jde-eclipse-compiler-server.el 2007-12-10 09:44:58.840156000 +0800
@@ -431,8 +431,8 @@
- (list "java" (append (jde-compile-classpath-arg (jde-compile-get-the-compiler))
- (list "-jar" (oref (jde-compile-get-ejc) path) "-Xemacs")
+ (list "java" (append (list "-jar" (oref (jde-compile-get-ejc) path) "-Xemacs")
+ (jde-compile-classpath-arg (jde-compile-get-the-compiler))
Log in to post a comment.