Re: jde-maven.el

Bryan Shell <[email protected]>
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
Phillip Lord <[email protected]> writes:

> [SNIP]

> Have you managed to get Emacs to parse the error messages? Maven2
> appears to parse and then push the error messages back in a different
> format. 

I just added a another compilation error regexp in my jde-mode-hook to
compilation-error-regexp-alist-alist and called
compilation-build-compilation-error-regexp-alist like so:

(defun my-jde-hook ()
  (add-to-list 'compilation-error-regexp-alist-alist '(mvn ("\\(.*\\):\\[\\([0-9]*\\),\\([0-9]*\\)\\]" 1 2 3)))
  (compilation-build-compilation-error-regexp-alist))

I'm using xemacs so you might have to tweak it for emacs; but this
should get you headed in the right direction.

--

Bryan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.