Here is my basic setup.
I am primarily a windows box and use my own compiled gvim.
I had someone send me a vim.exe that they compiled for cygwin.
>From the RXVT session, I do the following:
********
fishburn@FISHBURN-M20 /usr/local/share
$ vim
bash: /usr/local/bin/vim: No such file or directory
fishburn@FISHBURN-M20 /usr/local/share
$ which vim
/usr/bin/vim
********
So, I have placed vim.exe in the wrong directory.
Eclipse is configured to use C:/cygwin/bin/vim.exe
If I start Eclipse (3.2.2), I get a vim embedded showing the file I was last
editing.
GOOD.
This time, I move vim.exe to:
mv /usr/bin/vim.exe /usr/local/bin/.
vim
Vim starts correctly this time, but since I do have any configuration files
(or a vimrc) it is plain jane.
I modify Eclipse to use: C:/cygwin/usr/local/bin/vim.exe
To verify this is the correct location:
c:\>dir C:\cygwin\usr\local\bin\vim.exe
Volume in drive C is C Serial number is B061:3701
Directory of C:\cygwin\usr\local\bin\vim.exe
3/01/2007 11:20a 1,381,888 vim.exe
Now I re-start eclipse, I get a popup message saying:
Vim.exe - Unable To Locate Component
"This application has failed to start because cygwin1.dll was not found.
Re-installing the application may fix this problem."
When I hit Ok, it just sits there with a blank black screen.
If I change the path to something that will not work and restart Eclipse the
editor Window is gray with a message:
Unable to create this part due to an internal error. Reason for the failure:
An unexpected exception was thrown.
java.lang.NullPointerException
at org.vim.vimplugin.editors.VimEditor.sendCmd(VimEditor.java:169)
at
org.vim.vimplugin.editors.VimEditor.createPartControl(VimEditor.java:149)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.jav
a:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReferenc
e.java:566)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.j
ava:263)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:14
74)
at
org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1008)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at
org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1003)
at
org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2843)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:19
36)
at
org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2873)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2821)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1697)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1437
)
at
org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1695)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1666)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1545)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1489)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer
.java:183)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.jav
a:702)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1101)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Anything I can do for you?
Thanks,
Dave
|