ervandew / eclim

Expose eclipse features inside of vim.
http://eclim.org
GNU General Public License v3.0
1.04k stars 127 forks source link

Application "org.eclim.application_headless" could not be found in the registry #13

Closed jstepien closed 12 years ago

jstepien commented 14 years ago

Using Ubuntu 10.04. Installed Vim 7.2 and eclipse 3.5.2 from Ubuntu's repositories. Downloaded eclim_1.5.6.sh and installed it as root. Trying to launch /usr/lib/eclipse/eclimd as a user fails with "An error has occurred. See the log file /home/jan/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/1273420292539.log".

Output on stdout: http://nopaste.info/cb22c40400.html The log file: http://nopaste.info/19966a776f.html

ervandew commented 14 years ago

This error is due to an issue installing eclim where eclipse is not properly recognizing the new eclipse plugins. I have an updated installer I plan to release soon which should hopefully work better with eclipse distributions installed via package managers (apt in your case), but as a workaround you can download an eclipse version from eclipse.org and install eclim against that.

jstepien commented 14 years ago

Thanks for the feedback. I'm looking forward for the release!

johnennew commented 14 years ago

Hi, I had the same problem but re-ran the script and it worked the second time with the same options.

mcgyver42 commented 12 years ago

I am running into this same issue on Windows. Is it rare? I don't see any solution or recent info on it.

I had eclim working on this machine, then my boss insisted that I re-install Eclipse. I haven't gotten it to work since.

I ran a DOS shell as administrator. Here's the installation sequence:

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\MHackmann>cd Downloads\Eclipse-Android-install

C:\Users\MHackmann\Downloads\Eclipse-Android-install>dir Volume in drive C has no label. Volume Serial Number is 0832-A394

Directory of C:\Users\MHackmann\Downloads\Eclipse-Android-install

04/17/2012 05:13 PM

. 04/17/2012 05:13 PM .. 04/10/2012 04:19 PM 12,834,793 ADT-18.0.0.zip 03/13/2012 04:53 PM 80,346,206 android-ndk-r7b-windows.zip 04/17/2012 04:26 PM 80,361,003 android-ndk-r7c-windows.zip 04/14/2012 09:36 AM AndroidXml 04/09/2012 10:27 AM CoDec-build21-jdk13 04/10/2012 01:02 PM 2,133,329 easy-eclipse-cvs-3.3.1.1.exe 04/12/2012 08:55 AM 23,096,719 eclim_1.7.3.jar 04/17/2012 05:09 PM 135,263,593 eclipse-java-indigo-SR2-win32.zip 04/14/2012 09:23 AM 183,171,707 eclipse-SDK-3.7.2-win32.zip 04/17/2012 03:39 PM 37,456,234 installer_r18-windows.exe 04/14/2012 09:10 AM 88,210,392 jdk-7u3-windows-i586.exe 04/16/2012 04:43 PM KSoap 9 File(s) 642,873,976 bytes 5 Dir(s) 431,814,070,272 bytes free

C:\Users\MHackmann\Downloads\Eclipse-Android-install>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -version java version "1.7.0_03" Java(TM) SE Runtime Environment (build 1.7.0_03-b05) Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)

C:\Users\MHackmann\Downloads\Eclipse-Android-install>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar eclim_1.7.3.jar Buildfile: installer.xml 2012-04-18 08:21:18,376 INFO [org.formic.Installer] Running Installer. 2012-04-18 08:21:31,511 INFO [org.formic.util.CommandExecutor] vim.bat -f -X -u NONE -U NONE --cmd redir! > C:/Users/MHACKM~1/AppData/Local/Temp/eclim_installer5369783529551044427.tmp | silent! echo &rtp | quit java.io.IOException: Cannot run program "vim.bat": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.formic.util.CommandExecutor.run(CommandExecutor.java:107) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 4 more 2012-04-18 08:21:31,573 INFO [org.formic.util.CommandExecutor] gvim.bat -f -X -u NONE -U NONE --cmd redir! > C:/Users/MHACKM~1/AppData/Local/Temp/eclim_installer5369783529551044427.tmp | silent! echo &rtp | quit java.io.IOException: Cannot run program "gvim.bat": CreateProcess error=2, The system cannot find th e file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.formic.util.CommandExecutor.run(CommandExecutor.java:107) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 4 more 2012-04-18 08:21:31,604 INFO [org.formic.util.CommandExecutor] vim.exe -f -X -u NONE -U NONE --cmd redir! > C:/Users/MHACKM~1/AppData/Local/Temp/eclim_installer5369783529551044427.tmp | silent! echo &rtp | quit java.io.IOException: Cannot run program "vim.exe": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.formic.util.CommandExecutor.run(CommandExecutor.java:107) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 4 more 2012-04-18 08:21:31,682 INFO [org.formic.util.CommandExecutor] gvim.exe -f -X -u NONE -U NONE --cmd redir! > C:/Users/MHACKM~1/AppData/Local/Temp/eclim_installer5369783529551044427.tmp | silent! echo &rtp | quit java.io.IOException: Cannot run program "gvim.exe": CreateProcess error=2, The system cannot find th e file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.formic.util.CommandExecutor.run(CommandExecutor.java:107) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 4 more 2012-04-18 08:21:31,698 INFO [org.formic.util.CommandExecutor] C:/Program Files (x86)/Vim/vim73/vim .exe -f -X -u NONE -U NONE --cmd redir! > C:/Users/MHACKM~1/AppData/Local/Temp/eclim_installer536978 3529551044427.tmp | silent! echo &rtp | quit 2012-04-18 08:24:04,042 INFO [org.formic.util.CommandExecutor] java -Xmx256M -jar C:\Program Files (x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar -clean -application org.eclip se.equinox.p2.director -repository file://C:\Users\MHACKM~1\AppData\Local\Temp\formic_207233013\upda te -installIU org.eclim.installer.feature.group 2012-04-18 08:24:26,881 INFO [org.formic.util.CommandExecutor] java -Xmx256M -jar C:\Program Files (x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar -clean -application org.eclim .installer.application -list 2012-04-18 08:24:32,200 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.e pp.package.java.feature 1.4.2.20120213-0813 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,232 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.w st.xml_ui.feature 3.3.2.v201112072049-7H7EFZ7DxumTmce4khcSkIiqoD8eDMKlT8Oz011P file:/C:/Program File s (x86)/eclipse/ 2012-04-18 08:24:32,232 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m 2e.logback.feature 1.0.200.20111228-1245 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,232 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn.wikitext_feature 1.5.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,232 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.p latform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q file:/C:/Program Files (x86)/ec lipse/ 2012-04-18 08:24:32,232 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.e git.mylyn 1.3.0.201202151440-r file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.h elp 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.c vs 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn.ide_feature 3.6.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn.team_feature 3.6.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.e pp.mpc 1.1.1.I20110907-0947 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.w b.core.ui.feature 1.3.0.r37x201202052340 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn_feature 3.6.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.e git 1.3.0.201202151440-r file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclim.ins taller 1.7.3 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.w b.layout.group.feature 1.3.0.r37x201202060028 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.j git 1.3.0.201202151440-r file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,247 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.w b.core.feature 1.3.0.r37x201202052311 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.r cp 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn.bugzilla_feature 3.6.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.j dt 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m 2e.feature 1.0.200.20111228-1245 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn.java_feature 3.6.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.w b.swing.feature 1.3.0.r37x201202021417 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:32,263 INFO [org.eclim.installer.step.EclipsePluginsStep] Feature: org.eclipse.m ylyn.context_feature 3.6.5.v20120215-0100 file:/C:/Program Files (x86)/eclipse/ 2012-04-18 08:24:41,592 INFO [ANT] [eclim:shutdown] Unable to shut down eclimd (9091): java.lang.Nu llPointerException - null 2012-04-18 08:24:42,886 INFO [ANT] [eclim:install] Expanding: C:\Users\MHACKM~1\AppData\Local\Temp\ eclipse-plugins2415603266053695345.zip into C:\Program Files (x86)\eclipse\plugins 2012-04-18 08:24:44,587 INFO [ANT] [move] Moving 5 files to C:\Program Files (x86)\eclipse 2012-04-18 08:24:44,649 INFO [ANT] [eclim:install] Expanding: C:\Users\MHACKM~1\AppData\Local\Temp\ vim-plugins1725470243287101961.zip into C:\Users\MHackmann\vimfiles 2012-04-18 08:24:47,052 ERROR [ANT] [move] Warning: C:\Users\MHackmann\vimfiles\eclim\resources does not exist. 2012-04-18 08:24:47,083 WARN [ANT] [echo] Please wait while the eclim installer feature is rem oved from eclipse... 2012-04-18 08:24:47,083 INFO [org.formic.util.CommandExecutor] java -Xmx256M -jar C:\Program Files (x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar -clean -application org.eclip se.equinox.p2.director -repository file://C:\Users\MHACKM~1\AppData\Local\Temp\formic_207233013\upda te -uninstallIU org.eclim.installer.feature.group 2012-04-18 08:25:11,263 INFO [org.formic.Installer] Installer Finished. 2012-04-18 08:25:11,263 DEBUG [ANT] BUILD SUCCESSFUL Total time: 3 minutes 53 seconds

C:\Users\MHackmann\Downloads\Eclipse-Android-install>

======================= END INSTALL LOG ============

When I double-click on eclimd.bat, a window pops up:

Start VM: -XX:MaxPermSize=256m -Djava.class.path=C:\Program Files (x86)\eclipse\plugins/org.eclipse.equinox.l auncher_1.2.0.v20110502.jar -os win32 -ws win32 -arch x86 -launcher C:\Program Files (x86)\eclipse\eclipse.exe -name Eclipse --launcher.library C:\Program Files (x86)\eclipse\plugins/org.eclipse.equinox. launcher.win32.win32.x86_1.1.100.v20110502\eclipse_1406.dll -startup C:\Program Files (x86)\eclipse\plugins/org.eclipse.equinox.launcher_1 .2.0.v20110502.jar --launcher.overrideVmargs -product org.eclipse.epp.package.java.product -debug -clean -refresh -application org.eclim.application_headless -vm C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll -vmargs -XX:MaxPermSize=256m -Djava.class.path=C:\Program Files (x86)\eclipse\plugins/org.eclipse.equinox.l auncher_1.2.0.v20110502.jar Install location: file:/c:/Program Files (x86)/eclipse/ Configuration file: file:/c:/Program Files (x86)/eclipse/configuration/config.ini loaded Configuration location: file:/C:/Users/MHackmann/.eclipse/org.eclipse.platform_3.7.0_248562372/confi guration/ Configuration file: file:/C:/Users/MHackmann/.eclipse/org.eclipse.platform_3.7.0_248562372/confi guration/config.ini loaded Shared configuration location: file:/c:/Program Files (x86)/eclipse/configuration/ Framework located: file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.7.2.v2012011 0-1415.jar Framework classpath: file:/c:/Program Files (x86)/eclipse/plugins/org.eclipse.osgi_3.7.2.v2012011 0-1415.jar Debug options: file:/C:/Program Files (x86)/eclipse/.options not found Time to load bundles: 0 Starting application: 5054

================== END POP-UP WINDOW =============

Then an Eclipse dialog opens:

"An error has occurred. See the log file ..."

... which is displayed below:

!SESSION 2012-04-18 10:40:25.499 ----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.7.0_03 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product -refresh -application org.eclim.application_headless Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -debug -clean -refresh -application org.eclim.application_headless

!ENTRY org.eclipse.osgi 4 0 2012-04-18 10:40:30.662 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: Application "org.eclim.application_headless" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.eclipse.osgi 2 0 2012-04-18 10:40:30.678 !MESSAGE Info: cycle(s) found while stopping bundles: [[ch.qos.logback.classic,org.eclipse.m2e.logback.appender,org.slf4j.api,ch.qos.logback.slf4j,org.jboss.netty,com.ning.async-http-client,org.eclipse.m2e.maven.runtime,org.eclipse.m2e.archetype.common,org.eclipse.m2e.maven.indexer,org.eclipse.m2e.core,org.eclipse.m2e.core.ui]].

ervandew commented 12 years ago

As far as I know, yes this is rare. I haven't personally encountered the issue in probably the last 5yrs. I do have 1 or 2 possible changes I can make which should hopefully alleviate this problem, but they are not trivial changes and I just haven't had time to implement either yet.

You can try reinstalling eclim to see if that works. If that doesn't then I'm afraid the next best option is to install eclim against a fresh eclipse install. For some reason the eclipse config can be finicky and get in a weird state where the only solution I've found is to just re-install it.

mcgyver42 commented 12 years ago

Eric,

I've managed to get past the issue. I don't think it is eclim's fault, so I doubt there's anything you can do about it. I was also unable to add new software plugins to Eclipse.

What I had to do was: Delete the eclipse installation in C:\Program Files (x86)\, Delete any files like .eclipse, .eclim, .android from my home directory, Scrub the AppData subtree for any eclipse- or eclim-related files.
I then re-installed Eclipse, against a virgin workspace, and things were better.

I switched back to the old workspace, and things seem to be working.

So, my conclusion is that the Eclipse install was FUBAR, and more housecleaning before a re-install is required than would be intuitively casual to the obvious observer. ;-)

By the way, I LOVE eclim, even though it has its issues. It makes Eclipse tolerable for me to work in.

Thanks for all your work!

Mark

ervandew commented 12 years ago

I've managed to get past the issue. I don't think it is eclim's fault, so I doubt there's anything you can do about it. I was also unable to add new software plugins to Eclipse.

Was it that other new plugins you tried to install weren't recognized either or was the eclipse update manager broken in some other way?

What I had to do was: Delete the eclipse installation in C:\Program Files (x86)\, Delete any files like .eclipse, .eclim, .android from my home directory, Scrub the AppData subtree for any eclipse- or eclim-related files.
I then re-installed Eclipse, against a virgin workspace, and things were better.

I switched back to the old workspace, and things seem to be working.

So, my conclusion is that the Eclipse install was FUBAR, and more housecleaning before a re-install is required than would be intuitively casual to the obvious observer. ;-)

The eclipse configuration state and plugin install mechanisms are by far the most annoying aspects of eclipse. It's gotten better over the years but apparently things can still get screwed up in some way occasionally.

By the way, I LOVE eclim, even though it has its issues. It makes Eclipse tolerable for me to work in.

I'm glad you find it useful! Let me know what issues you have so I can try to address them at some point.

Thanks for all your work!

Mark

eric

mcgyver42 commented 12 years ago

Eric,

I was trying to install the Android ADT plugin, which was recognized, but Eclipse threw an error when trying to install it. That was a real show-stopper for me. I can edit with the other editors if I must, but I can't do my job without the ADT.

Eclim now works, but not perfectly. I can't open a file directly; it complains about the path and opens a blank Vim. I can navigate to the directory and open it, so I'm working around it for now. Deadlines loom, so I'll deal with it later.

Oh, and I get the same problem with the bottom line or two not being visible in the Eclipse frame (I'm not working headless), but if I make the frame that Vim is in full-screen, then restore it back, it's fixed.

Perhaps next week I can fiddle with this further.

Thanks again,

Mark

ervandew commented 12 years ago

On 2012-04-19 12:29:07, Mark Hackmann wrote:

Eric,

I was trying to install the Android ADT plugin, which was recognized, but Eclipse threw an error when trying to install it. That was a real show-stopper for me. I can edit with the other editors if I must, but I can't do my job without the ADT.

Eclim now works, but not perfectly. I can't open a file directly; it complains about the path and opens a blank Vim. I can navigate to the directory and open it, so I'm working around it for now. Deadlines loom, so I'll deal with it later.

Make sure you don't have any cd or lcd calls in your vimrc file like another user did:

https://groups.google.com/d/topic/eclim-user/YDCM674-sZU/discussion

Oh, and I get the same problem with the bottom line or two not being visible in the Eclipse frame (I'm not working headless), but if I make the frame that Vim is in full-screen, then restore it back, it's fixed.

You should be able to fix this by disabling various parts of the gvim gui (http://eclim.org/eclimd.html#embedded-gvim third note after the image):

set guioptions-=m " turn off menu bar set guioptions-=T " turn off toolbar set guioptions-=L " turn off left scrollbar set guioptions-=l

Perhaps next week I can fiddle with this further.

Thanks again,

Mark

eric

mcgyver42 commented 12 years ago

Ah, yes, an ill-advised "cd $HOME" added to .vimrc since the troubles began. My environment variables are still not completely recovered. Thank you.

Disabling parts of gvim doesn't help with the visibility, alas. It works fine as long as you don't split the window vertically. But the first W, V causes the status line to descend past the bottom of the frame.

It's not a big deal. Expanding the frame to full-screen and back again makes it right.

Thanks again,

Mark