From: Alex Schroeder Date: Sun, 17 Aug 2003 09:49:42 +0000 (+0000) Subject: 2003-08-14 Thu Jari Aalto X-Git-Tag: ttn-vms-21-2-B4~9085 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1f540f294ccacf2035a9e67154dac3aff741f7a;p=emacs.git 2003-08-14 Thu Jari Aalto * progmodes/compile.el (compilation-error-regexp-alist): Added Java ANt error detection as described in document http://ant.apache.org/faq.html --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index a65e04eb1d2..3effe71d30b 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -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.