Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
update mvn errorformat to handle tests outputing to stdout
Browse files Browse the repository at this point in the history
fixes #408
  • Loading branch information
ervandew committed Sep 13, 2015
1 parent 6b51d1e commit 4a55f18
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions org.eclim.jdt/vim/eclim/compiler/eclim_mvn.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"
" License:
"
" Copyright (C) 2005 - 2009 Eric Van Dewoestine
" Copyright (C) 2005 - 2015 Eric Van Dewoestine
"
" This program is free software: you can redistribute it and/or modify
" it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -35,6 +35,8 @@ CompilerSet makeprg=mvn\ $*

" Lines 1 - 3: javac
" Lines 4 - 7: javadoc
" Lines 8 - 12: test failures
" second set handles the case where the test emits output.
exec 'CompilerSet errorformat=' .
\ '\%A%f:[%l\\,%c]\ %m,' .
\ '\%Csymbol%.%#:\ %m,' .
Expand All @@ -44,7 +46,10 @@ exec 'CompilerSet errorformat=' .
\ '\%A%f:%l:\ %m,' .
\ '\%-Z\ %p^,' .
\ '\%ARunning\ %f,' .
\ '\%+ZTests\ run%.%#FAILURE!,' .
\ '\%+ZTests\ run%.%#FAILURE!%.%#,' .
\ '\%ARunning\ %f,' .
\ '\%C%.%#,' .
\ '\%+ZTests\ run%.%#FAILURE!%.%#,' .
\ g:EclimMvnCompilerAdditionalErrorFormat .
\ '\%-G%.%#'

Expand Down

0 comments on commit 4a55f18

Please sign in to comment.