Bug#408338: vim-runtime: wrong java makeprg

Martin Stolle mstoll at sus.mcgill.ca
Wed Jan 24 23:59:17 UTC 2007


Package: vim-runtime
Version: 1:7.0-164+3
Severity: normal
Tags: patch


I believe there's a problem with the makeprg setting for the java
compiler.  Currently, /usr/share/vim/vim70/compiler/javac.vim sets the
makeprg to "javac".  This does not pass the current filename to the
javac compiler so that "javac" is run without any options.  This doesn't
work.  Instead, "makeprg" should be set to "javac %".  This will cause
javac to compile the current program (assuming that vim was started in
the root of the package tree)

patch:

change line 16 from
CompilerSet makeprg=javac

to 
CompilerSet makeprg=javac\ %

Thanks,
  Martin


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim                          1:7.0-164+3 Vi IMproved - enhanced vi editor

-- no debconf information




More information about the pkg-vim-maintainers mailing list