diff options
Diffstat (limited to 'base/vim/bundle/javacomplete/autoload')
-rw-r--r-- | base/vim/bundle/javacomplete/autoload/javacomplete.vim | 6 |
1 files 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 |