bug fix for issue962 javac classpath resolve bug - add windows support
This commit is contained in:
parent
95d76b21c8
commit
2ab8486f07
@ -354,7 +354,12 @@ function! SyntaxCheckers_java_javac_GetLocList() dict
|
|||||||
let javac_classpath = ''
|
let javac_classpath = ''
|
||||||
|
|
||||||
" add classpathes to javac_classpath
|
" add classpathes to javac_classpath
|
||||||
for path in split(g:syntastic_java_javac_classpath, ":")
|
if has('win32') || has('win32unix') || has('win64')
|
||||||
|
let javac_classpath_split = ';'
|
||||||
|
else
|
||||||
|
let javac_classpath_split = ':'
|
||||||
|
endif
|
||||||
|
for path in split(g:syntastic_java_javac_classpath, javac_classpath_split)
|
||||||
if path != ''
|
if path != ''
|
||||||
try
|
try
|
||||||
let ps = glob(path, 0, 1)
|
let ps = glob(path, 0, 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user