"Chris Hilton" <[EMAIL PROTECTED]> writes:

 > Wasn't your original problem with grabbing compilation errors from the
 > output? You should probably take a look at the following message:
 > 
 > http://www.nabble.com/forum/ViewPost.jtp?post=4125504&framed=y
 > 
 > It should be as easy as modifying your emacs setup.

And right you are.  Thanks for the lead.  I've included my adaptation
(of Philip Lord's solution) which does not require JDE hence may be of
some value to other Emacs/Maven hackers out there:

;;; Support for Maven 2 for GNU Emacs

(require 'compile)

;; Add the following to support Emacs' compile mode:
(add-to-list
 'compilation-error-regexp-alist-alist
 '(mvn "^\\(.*\\):\\[\\([0-9]*\\),\\([0-9]*\\)\\]" 1 2 3))
(add-to-list 'compilation-error-regexp-alist 'mvn)

(provide 'maven-support)


Enjoy,

-pmr

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to