Add error parsing from Maven.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Oct 2012 15:56:27 +0300
changeset 967 5d0ffd485a43
parent 965 72d443fe2b1d
child 968 4c9cf099d204
child 969 134336cef3d0
Add error parsing from Maven.
.emacs-my
--- a/.emacs-my	Wed Oct 17 13:26:01 2012 +0300
+++ b/.emacs-my	Mon Oct 22 15:56:27 2012 +0300
@@ -1933,6 +1933,8 @@
      (add-to-list 'compilation-error-regexp-alist '("^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4))
      (add-to-list 'compilation-error-regexp-alist '("^ *\\(.*\\)(\\([0-9]*\\)) +:" 1 2))
      (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2)) ; KEIL compiler
+     (add-to-list 'compilation-error-regexp-alist-alist '(maven "\\[ERROR\\] \\(.*\\.java\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3))
+     (add-to-list 'compilation-error-regexp-alist 'maven)
      (when (boundp 'compilation-mode-font-lock-keywords)
        (add-to-list 'compilation-mode-font-lock-keywords '("\\(/[Oo][Uu][Tt]:[^[:blank:]]+\\)" . 1))
        (add-to-list 'compilation-mode-font-lock-keywords '("[[:blank:]]\\(/F[oe][^[:blank:]]+\\)" . 1))