robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
ab20681c52
master
1" Vim Compiler File 2" Compiler: ant 3" Maintainer: Johannes Zellner <johannes@zellner.org> 4" Last Change: Mi, 13 Apr 2005 22:50:07 CEST 5" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) 6 7if exists ( "current_compiler" ) 8finish 9endif 10let current_compiler = "ant" 11 12let s: cpo_save = & cpo 13set cpo & vim 14 15CompilerSet makeprg=ant 16 17" first line: 18" ant with jikes +E, which assumes the following 19" two property lines in your 'build.xml': 20" 21" <property name = "build.compiler" value = "jikes"/> 22" <property name = "build.compiler.emacs" value = "true"/> 23" 24" second line: 25" ant with javac 26" 27" note that this will work also for tasks like [wtkbuild] 28" 29CompilerSet errorformat=\ %#[%.%#]\ %#%f:%l:%v:%*\\d:%*\\d:\ %t%[%^:]%#:%m, 30 \%A\ %#[%.%#]\ %f:%l:\ %m,%-Z\ %#[%.%#]\ %p^,%C\ %#[%.%#]\ %#%m 31 32" ,%-C%.%# 33 34let & cpo = s: cpo_save 35unlet s: cpo_save