What was the error?
> I also removed ~/.eclim and
> ~/.eclipse and ~/.vim/eclim.
>
> Now the installation works, but when I try to run any command under
> VIM, I get this error:
>
> (0s) system: "/home/charles/.eclipse/
> org.eclipse.platform_3.7.0_155965261/eclim" --nailgun-port 9091 -
> editor vim -command ping
> Unrecognized option: -editor
> while executing command (port: 9091): -editor vim -command ping
>
> The eclimd output says:
> NGSession 2: 127.0.0.1: org.eclim.command.Main exited with status 1
>
> I tried running the same command without the -editor vim option and it
> successfully pinged eclim.
What the result of the successful ping from the command line?
> Any idea why eclim is prepending the "-
> editor" option and it's failing??
That option was introduced in 1.7.3 to allow the server side to deal
with discrepancies between different editor clients. The only reason I
can think why it would fail is if your eclim daemon is still at
version 1.7.2 while the vim side is now at 1.7.3.
> Thanks,
> Charles
--
eric
What looks like the issue for you was that you installed eclim 1.7.2
into the eclipse home dir (/usr/lib/eclipse ... as root?) but
installed eclim 1.7.3 to the user local eclipse path, so the installer
only looked at the latter location for an older version of eclim to
remove.
A quick fix would be to have the installer check and warn if eclim
is found in the eclipse home, but you are about to install it in the
user local path, which I'll probably add, but I also have an alternate
solution that will hopefully let eclipse's p2 directory resolve this
issue.
--
eric