From f8e123d0a72efbe03fbbddd0d8227ce1754a20a7 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Fri, 10 Oct 2014 23:02:28 -0700 Subject: Changing the default Reflection.java compile destination to $CLASS_DEST --- base/vim/bundle/javacomplete/autoload/javacomplete.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/vim/bundle/javacomplete/autoload/javacomplete.vim b/base/vim/bundle/javacomplete/autoload/javacomplete.vim index adda8a3..c095dad 100644 --- a/base/vim/bundle/javacomplete/autoload/javacomplete.vim +++ b/base/vim/bundle/javacomplete/autoload/javacomplete.vim @@ -1756,19 +1756,19 @@ fu! s:GetJavaCompleteClassPath() let classfile = globpath(&rtp, 'autoload/Reflection.class') if classfile == '' - let classfile = globpath($HOME, 'Reflection.class') + let classfile = globpath($CLASS_DEST, 'Reflection.class') endif if classfile == '' " try to find source file and compile to $HOME let srcfile = globpath(&rtp, 'autoload/Reflection.java') if srcfile != '' exe '!' . javacomplete#GetCompiler() . ' -d "' . $CLASS_DEST . '" "' . srcfile . '"' - let classfile = globpath($HOME, 'Reflection.class') + let classfile = globpath($CLASS_DEST, 'Reflection.class') if classfile == '' echo srcfile . ' can not be compiled. Please check it' endif else - echo 'No Reflection.class found in $HOME or any autoload directory of the &rtp. And no Reflection.java found in any autoload directory of the &rtp to compile.' + echo 'No Reflection.class found in $CLASS_DEST or any autoload directory of the &rtp. And no Reflection.java found in any autoload directory of the &rtp to compile.' endif endif -- cgit v1.2.3