summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2014-10-10 23:02:28 -0700
committerJesse Morgan <jesse@jesterpm.net>2014-10-10 23:02:28 -0700
commitf8e123d0a72efbe03fbbddd0d8227ce1754a20a7 (patch)
treecdac3414cde99ca96c8c2a1f6a951ce0f33e3e32
parent05b943b2ef0d71ff9c403b702d08b4eae19383d5 (diff)
Changing the default Reflection.java compile destination to $CLASS_DEST
-rw-r--r--base/vim/bundle/javacomplete/autoload/javacomplete.vim6
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