]> git.eshelyaron.com Git - emacs.git/commitdiff
2003-08-14 Thu Jari Aalto <jari.aalto@poboxes.com>
authorAlex Schroeder <alex@gnu.org>
Sun, 17 Aug 2003 09:49:42 +0000 (09:49 +0000)
committerAlex Schroeder <alex@gnu.org>
Sun, 17 Aug 2003 09:49:42 +0000 (09:49 +0000)
        * progmodes/compile.el (compilation-error-regexp-alist):
        Added Java ANt error detection as described in document
        http://ant.apache.org/faq.html

lisp/progmodes/compile.el

index a65e04eb1d28c41b865080ca9383320c079749af..3effe71d30b9430d038337bf71fe91d6b17e3b94 100644 (file)
@@ -437,6 +437,14 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2)
     ;; 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.