Hi

I'm having problems using flymake and jde. I've followed this 
http://www.credmp.org/2007/07/20/on-the-fly-syntax-checking-java-in-emacs/ 
  guide and got flymake working fine.

The problem is that after a while of coding flymake stopped working.  
It still detect changes in my code but no more errors and warnings.

I've found that the problem starts after a JDE error, for example if I  
try to run an ant target (jde-ant-build "/Users/anton/Documents/skola/ 
apjava/lab1/build.xml" "asdf" nil) when the target "asdf" doesn't  
exist, jde (with (setq debug-on-error t)) gives me the following error:

Debugger entered--Lisp error: (error "Moved past last error")
   signal(error ("Moved past last error"))
   error("Moved past last %s" "error")
   compilation-next-error(1 nil 1)
   compilation-next-error-function(1 nil)
   next-error(1)
   jde-compile-finish-kill-buffer(#<buffer *compilation*> "exited  
abnormally with code 1\n")
   run-hook-with-args(jde-compile-finish-kill-buffer #<buffer  
*compilation*> "exited abnormally with code 1\n")
   #[(buf msg) "ÃÄ      #ˆÅ‰‡" [buf msg compilation-finish-function run- 
hook-with-args jde-ant-build-hook nil] 4](#<buffer *compilation*>  
"exited abnormally with code 1\n")
   compilation-handle-exit(exit 1 "exited abnormally with code 1\n")
   compilation-sentinel(#<process compilation> "exited abnormally with  
code 1\n")

After the error above flymake stops working correctly, no more errors  
or warnings are found. Restarting JDE closing buffers and restarting  
flymake won't affect the problem. Flymakes log (set-variable 'flymake- 
log-level 3) looks like this after error:

%sflymake is running: nil
%sfile /Users/anton/Documents/skola/apjava/lab1/src/Calc.java,  
init=flymake-java-ecj-init
%sstarting syntax check as more than 1 second passed since last change
%sflymake is running: nil
%sfile /Users/anton/Documents/skola/apjava/lab1/src/Calc.java,  
init=flymake-java-ecj-init
%sstarting syntax check as more than 1 second passed since last change
%sflymake is running: nil
%sfile /Users/anton/Documents/skola/apjava/lab1/src/Calc.java,  
init=flymake-java-ecj-init
%sstarting syntax check as more than 1 second passed since last change
%sflymake is running: nil
%sfile /Users/anton/Documents/skola/apjava/lab1/src/Calc.java,  
init=flymake-java-ecj-init

Anyone got any idea of what can be done to fix this? How can I  
"restart" flymake to make it work without restarting emacs.

I use:
Max OS X version 10.5.5
GNU Emacs 22.2.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0) of  
2008-04-02 on seijiz.local
JDE 2.3.5.1
Apache Ant version 1.7.0 compiled on August 25 2008
Java 1.5

.emacs and prj.el content => http://gist.github.com/23130

--
Regards
Anton
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to