Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
52218:bdc9a2bc9371 | 52219:cf7c59950b0a |
---|---|
435 3 1 2) | 435 3 1 2) |
436 ;; Warning: Start tag for undeclared element geroup | 436 ;; Warning: Start tag for undeclared element geroup |
437 ;; in unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml | 437 ;; in unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml |
438 ("Warning:.*\n.* line \\([0-9]+\\) char \\([0-9]+\\) of file://\\(.+\\)" | 438 ("Warning:.*\n.* line \\([0-9]+\\) char \\([0-9]+\\) of file://\\(.+\\)" |
439 3 1 2) | 439 3 1 2) |
440 | |
441 ;; See http://ant.apache.org/faq.html | |
442 ;; Ant Java: works for jikes | |
443 ("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):\\([0-9]+\\):[0-9]+:[0-9]+:" 1 2 3) | |
444 | |
445 ;; Ant Java: works for javac | |
446 ("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):" 1 2) | |
447 | |
440 ) | 448 ) |
441 | 449 |
442 "Alist that specifies how to match errors in compiler output. | 450 "Alist that specifies how to match errors in compiler output. |
443 Each elt has the form (REGEXP FILE-IDX LINE-IDX [COLUMN-IDX FILE-FORMAT...]) | 451 Each elt has the form (REGEXP FILE-IDX LINE-IDX [COLUMN-IDX FILE-FORMAT...]) |
444 If REGEXP matches, the FILE-IDX'th subexpression gives the file name, and | 452 If REGEXP matches, the FILE-IDX'th subexpression gives the file name, and |