blob: 6219b01c363b8482e089fbf78562abde9458d721 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim Compiler File
2" Compiler: ant
3" Maintainer: Johannes Zellner <johannes@zellner.org>
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00004" Last Change: Mi, 13 Apr 2005 22:50:07 CEST
Doug Kearns408281e2024-04-04 22:00:58 +02005" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
Bram Moolenaar071d4272004-06-13 20:20:40 +00006
7if exists("current_compiler")
8 finish
9endif
10let current_compiler = "ant"
11
Bram Moolenaar071d4272004-06-13 20:20:40 +000012let 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"
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000021" <property name = "build.compiler" value = "jikes"/>
22" <property name = "build.compiler.emacs" value = "true"/>
Bram Moolenaar071d4272004-06-13 20:20:40 +000023"
24" second line:
25" ant with javac
26"
27" note that this will work also for tasks like [wtkbuild]
28"
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000029CompilerSet errorformat=\ %#[%.%#]\ %#%f:%l:%v:%*\\d:%*\\d:\ %t%[%^:]%#:%m,
Bram Moolenaar071d4272004-06-13 20:20:40 +000030 \%A\ %#[%.%#]\ %f:%l:\ %m,%-Z\ %#[%.%#]\ %p^,%C\ %#[%.%#]\ %#%m
31
32" ,%-C%.%#
33
34let &cpo = s:cpo_save
35unlet s:cpo_save