diff lisp/progmodes/compile.el @ 52219:cf7c59950b0a

2003-08-14 Thu Jari Aalto <jari.aalto@poboxes.com> * progmodes/compile.el (compilation-error-regexp-alist): Added Java ANt error detection as described in document http://ant.apache.org/faq.html
author Alex Schroeder <alex@gnu.org>
date Sun, 17 Aug 2003 09:49:42 +0000
parents d11e55dcc374
children 1c091699d00e
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Sun Aug 17 09:37:37 2003 +0000
+++ b/lisp/progmodes/compile.el	Sun Aug 17 09:49:42 2003 +0000
@@ -437,6 +437,14 @@
     ;; in unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml
     ("Warning:.*\n.* line \\([0-9]+\\) char \\([0-9]+\\) of file://\\(.+\\)"
      3 1 2)
+
+    ;; See http://ant.apache.org/faq.html
+    ;; Ant Java: works for jikes
+    ("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):\\([0-9]+\\):[0-9]+:[0-9]+:" 1 2 3)
+
+    ;; Ant Java: works for javac
+    ("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):" 1 2)
+
     )
 
   "Alist that specifies how to match errors in compiler output.