annotate runtime/compiler/ant.vim @ 2666:1a0d346695fa v7.3.085

updated for version 7.3.085 Problem: Inconsistency with preproc symbols. void * computation. Solution: Include vimio.h from vim.h. Add type cast.
author Bram Moolenaar <bram@vim.org>
date Fri, 17 Dec 2010 18:06:06 +0100
parents 4707450c2b33
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim Compiler File
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: ant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Johannes Zellner <johannes@zellner.org>
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
4 " Last Change: Mi, 13 Apr 2005 22:50:07 CEST
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 let current_compiler = "ant"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 let s:cpo_save = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 set cpo&vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 CompilerSet makeprg=ant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " first line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " ant with jikes +E, which assumes the following
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " two property lines in your 'build.xml':
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 "
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
24 " <property name = "build.compiler" value = "jikes"/>
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
25 " <property name = "build.compiler.emacs" value = "true"/>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " second line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " ant with javac
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " note that this will work also for tasks like [wtkbuild]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 "
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
32 CompilerSet errorformat=\ %#[%.%#]\ %#%f:%l:%v:%*\\d:%*\\d:\ %t%[%^:]%#:%m,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 \%A\ %#[%.%#]\ %f:%l:\ %m,%-Z\ %#[%.%#]\ %p^,%C\ %#[%.%#]\ %#%m
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 " ,%-C%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 let &cpo = s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 unlet s:cpo_save