Hi,

maybe this is of interest for vim users. below is the 'efm'
('errorformat') for using ant as 'makeprg'. It works with
both jikes or javac, but if you use jikes, you should turn
on the +E switch of jikes. (If your mailer splits lines,
just join the last line.)

setlocal makeprg=ant

" ERRORFORMAT FOR ANT
" first  line: ant with jikes +E
"              <property name = "build.compiler"       value = "jikes"/>
"              <property name = "build.compiler.emacs" value = "true"/>
" second line: ant with javac
setlocal efm=\ %#[javac]\ %#%f:%l:%c:%*\\d:%*\\d:\ %t%[%^:]%#:%m,%A\ %#[javac]\ 
%f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#

-- 
   Johannes

Reply via email to