home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / runtime / compiler / ant.vim next >
Encoding:
Text File  |  2003-05-11  |  721 b   |  31 lines

  1. " Vim Compiler File
  2. " Compiler:    ant
  3. " Maintainer:    Johannes Zellner <johannes@zellner.org>
  4. " Last Change:    Wed, 19 Sep 2001 22:51:54 +0200
  5.  
  6. if exists("current_compiler")
  7.     finish
  8. endif
  9. let current_compiler = "ant"
  10.  
  11. let s:cpo_save = &cpo
  12. set cpo&vim
  13.  
  14. setlocal makeprg=ant
  15.  
  16. " first  line:
  17. "     ant with jikes +E, which assumes  the following
  18. "     two property lines in your 'build.xml':
  19. "
  20. "      <property name = "build.compiler"      value = "jikes"/>
  21. "      <property name = "build.compiler.emacs" value = "true"/>
  22. "
  23. " second line:
  24. "     ant with javac
  25. "
  26. setlocal errorformat=\ %#[javac]\ %#%f:%l:%c:%*\\d:%*\\d:\ %t%[%^:]%#:%m,
  27.     \%A\ %#[javac]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#
  28.  
  29. let &cpo = s:cpo_save
  30. unlet s:cpo_save
  31.