ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Zellner <johan...@zellner.org>
Subject vim errorformat
Date Mon, 29 Jan 2001 16:31:34 GMT
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

Mime
View raw message