problem loading in vim

187 views
Skip to first unread message

Marin

unread,
Oct 19, 2009, 2:43:55 PM10/19/09
to eclim-user
I think I have everything setup properly now, im just having some
difficulty executing commands like :PingEclim and connecting it to the
server. Im running eclipse in headless mode

E492: Not an editor command: PingEclim

after reading around i see /eclim needs to be in my runtime but im
having a hard time setting it there

:echo &rtp
/home/staykov/.vim,/usr/local/share/vim/vimfiles,/usr/local/share/vim/
vim72,/usr/local/share/vim/vimfiles/after,/home/st
aykov/.vim/after

i have the eclim folder in /home/staykov/.vim/eclim

What am i missing?

Eric Van Dewoestine

unread,
Oct 19, 2009, 3:36:08 PM10/19/09
to eclim...@googlegroups.com

Can you try running :EclimValidate to see if it reports any
issues?

--
eric

Marin

unread,
Oct 19, 2009, 3:38:26 PM10/19/09
to eclim-user
Getting :

E492: Not an editor command: EclimValidate

im not sure that i have the eclipse plugins loaded properly, but every
way i try to load them it doesnt seem to register

Eric Van Dewoestine

unread,
Oct 19, 2009, 3:49:00 PM10/19/09
to eclim...@googlegroups.com
On Mon, Oct 19, 2009 at 12:38:26PM -0700, Marin wrote:
>
> Getting :
>
> E492: Not an editor command: EclimValidate

Based on your runtime path, the following file should exist:
/home/staykov/.vim/plugin/eclim.vim

That file defines the :EclimValidate command and handles the
bootstrapping of eclim's vim environment.

What does the following print from vim:
:scriptnames

Can you also include the result running:
:version

--
eric

Marin

unread,
Oct 19, 2009, 4:21:52 PM10/19/09
to eclim-user


On Oct 19, 12:49 pm, Eric Van Dewoestine <ervan...@gmail.com> wrote:
> On Mon, Oct 19, 2009 at 12:38:26PM -0700, Marin wrote:
>
> > Getting :
>
> > E492: Not an editor command: EclimValidate
>
> Based on your runtime path, the following file should exist:
> /home/staykov/.vim/plugin/eclim.vim
>

All i had in .vim was a /eclim folder,
i moved it to my home and symlinked the its contents in .vim

Now the :PingEclim command returns
eclim 1.5.0
eclipse 3.5.1

But the :EclimValidate still gets a Not an editor command

> That file defines the :EclimValidate command and handles the
> bootstrapping of eclim's vim environment.
>
> What does the following print from vim:
> :scriptnames
>

it seems they are loaded now:

1: /home/staykov/.vimrc
2: /usr/local/share/vim/vim72/syntax/syntax.vim
3: /usr/local/share/vim/vim72/syntax/synload.vim
4: /usr/local/share/vim/vim72/syntax/syncolor.vim
5: /usr/local/share/vim/vim72/filetype.vim
6: /usr/local/share/vim/vim72/ftplugin.vim
7: /home/staykov/.eclim/plugin/ant.vim
8: /home/staykov/.eclim/plugin/common.vim
9: /home/staykov/.eclim/plugin/cproject.vim
10: /home/staykov/.eclim/plugin/django.vim
11: /home/staykov/.eclim/plugin/eclim.vim
12: /home/staykov/.eclim/plugin/ftdetect.vim
13: /home/staykov/.eclim/plugin/java_tools.vim
14: /home/staykov/.eclim/plugin/largefile.vim
15: /home/staykov/.eclim/plugin/make.vim
16: /home/staykov/.eclim/plugin/maven.vim
17: /home/staykov/.eclim/plugin/project.vim
18: /home/staykov/.eclim/plugin/taglisttoo.vim
19: /home/staykov/.eclim/plugin/vcs.vim
20: /usr/local/share/vim/vim72/plugin/getscriptPlugin.vim
21: /usr/local/share/vim/vim72/plugin/gzip.vim
22: /usr/local/share/vim/vim72/plugin/matchparen.vim
23: /usr/local/share/vim/vim72/plugin/netrwPlugin.vim
24: /usr/local/share/vim/vim72/plugin/rrhelper.vim
25: /usr/local/share/vim/vim72/plugin/spellfile.vim
26: /usr/local/share/vim/vim72/plugin/tarPlugin.vim
27: /usr/local/share/vim/vim72/plugin/tohtml.vim
28: /usr/local/share/vim/vim72/plugin/vimballPlugin.vim
29: /usr/local/share/vim/vim72/plugin/zipPlugin.vim
30: /home/staykov/.eclim/autoload/eclim/display/signs.vim



> Can you also include the result running:
> :version
>

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Oct 19 2009 10:01:58)
Included patches: 1-267
Compiled by staykov@creation-server
Huge version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset
+cindent -clientserver -clipboard +cmdline_compl
+cmdline_hist +cmdline_info +comments +cryptv +cscope +cursorshape
+dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags
+eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+float +folding -footer +fork() +gettext
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap
+libcall +linebreak +lispindent +listcmds +localmap
+menu +mksession +modify_fname +mouse -mouseshape +mouse_dec -
mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse
+mouse_xterm +multi_byte +multi_lang -mzscheme -netbeans_intg -
osfiletype +path_extra -perl +postscript +printer
+profile -python +quickfix +reltime +rightleft -ruby +scrollbind
+signs +smartindent -sniff +statusline -sun_workshop
+syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo
+termresponse +textobjects +title -toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows
+writebackup -X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -
D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o vim -lm -lncurses -lselinux




> --
> eric

Eric Van Dewoestine

unread,
Oct 19, 2009, 4:30:45 PM10/19/09
to eclim...@googlegroups.com
On Mon, Oct 19, 2009 at 01:21:52PM -0700, Marin wrote:
>
>
>
> On Oct 19, 12:49 pm, Eric Van Dewoestine <ervan...@gmail.com> wrote:
> > On Mon, Oct 19, 2009 at 12:38:26PM -0700, Marin wrote:
> >
> > > Getting :
> >
> > > E492: Not an editor command: EclimValidate
> >
> > Based on your runtime path, the following file should exist:
> > /home/staykov/.vim/plugin/eclim.vim
> >
>
> All i had in .vim was a /eclim folder,
> i moved it to my home and symlinked the its contents in .vim
>
> Now the :PingEclim command returns
> eclim 1.5.0
> eclipse 3.5.1
>
> But the :EclimValidate still gets a Not an editor command

How did you install eclim? The 1.5.0 version number gives me the
impression that you didn't use the official installer.

You're still missing the main plugin/eclim.vim file (outside of the
eclim dir), which is why :EclimVaidate is still not found. Most of the
functionality will probably work without plugin/eclim.vim, but I'm
pretty sure you'll run into errors at some point as a result of it
missing.

--
eric

Marin

unread,
Oct 19, 2009, 4:39:47 PM10/19/09
to eclim-user
I had some difficulties installing it last night so i decided to try
an older version. I installed is using the tar method since im working
on a slightly funky debian system

Where is the main eclim.vim file? How should i load it?

Eric Van Dewoestine

unread,
Oct 19, 2009, 4:51:14 PM10/19/09
to eclim...@googlegroups.com
On Mon, Oct 19, 2009 at 01:39:47PM -0700, Marin wrote:
>
> I had some difficulties installing it last night so i decided to try
> an older version. I installed is using the tar method since im working
> on a slightly funky debian system

So, using the tar file, did you use the following steps, or some other
steps?
- $ tar -zxvf eclim_<version>.tar.gz
- $ cd eclim_<version>
- $ ant -Declipse.home=<eclipse-dir> -Dplugins=<comma-list-of-plugins>

Those steps _should_ copy all the necessary vim files to their correct
location, like so:
~/.vim/plugin/eclim.vim (the one you're currently missing)
~/.vim/eclim/... (all the other vim files, which you appear to have)

--
eric

Reply all
Reply to author
Forward
0 new messages