# HG changeset patch # User Alex Schroeder # Date 1061113782 0 # Node ID cf7c59950b0a1a70ac7d9d4174adcef719468eab # Parent bdc9a2bc9371dab3e12ad7eed56d4e247c48582a 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 -r bdc9a2bc9371 -r cf7c59950b0a lisp/progmodes/compile.el --- 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.