GNU bug report logs -
#18109
24.4.50; `compilation-error-regexp-alist-alist': wrong regexp for Maven
Previous Next
Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>
Date: Fri, 25 Jul 2014 20:41:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.4.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 18109 <at> debbugs.gnu.org (full text, mbox):
Glenn,
On 26/07/2014 03:22 -0400, Glenn Morris wrote:
> Please explain why it is wrong, and show an example of what is is
> supposed to match. The current one in etc/compilation.txt is:
>
> * maven 2.0.9
>
> symbol: maven
>
> FooBar.java:[111,53] no interface expected here
Oh yes, sorry for the bad report.
While the original regexp catches these errors:
D:\cygwin\root\my-project\src\main\java\my\project\controllers\MainController.java:[27,12] error: cannot find symbol
[ERROR] symbol: class SomeService
location: class MainController
it does not catch these, which Maven emits sometimes:
[ERROR] D:\cygwin\root\my-project\src\main\java\my\project\controllers\MainController.java:[21,1] error: cannot find symbol
[ERROR] symbol: class Controller
My version catches both.
Also, the original regexp seems to be more complicated than it really
should be.
Tested on Maven 2.2.1 and 3.0.4.
--
Filipp
This bug report was last modified 4 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.