Package Details: eclim 2.7.1-1

Git Clone URL: https://aur.archlinux.org/eclim.git (read-only)
Package Base: eclim
Description: Brings Eclipse functionality to Vim
Upstream URL: http://eclim.org/
Licenses: GPL3
Conflicts: eclim-git
Submitter: None
Maintainer: petronny
Last Packager: petronny
Votes: 122
Popularity: 1.350366
First Submitted: 2006-10-27 18:37
Last Updated: 2018-01-16 07:07

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

PawkyPenguin commented on 2017-11-17 00:38

This is probably not an issue with this package, but I'm posting a solution to it anyway, because the last comment regarding this is from 2014:

If anyone gets an error consisting of `"org.eclim.application" could not be found in the registry`, the solution is to remove the `.eclipse/org.eclipse.CURRENT_PLATFORM/p2` directory in your home (I would probably move it to `p2.bak` in case something goes wrong), then try starting eclimd again. Eclimd should succeed in starting and the p2 directory will be recreated automatically, see https://groups.google.com/forum/#!topic/eclim-dev/YLrO9WeXeCQ

Here is part of the error log that occurs due to the "p2-problem" for clarity:

!ENTRY org.eclipse.osgi 4 0 2017-11-17 01:15:46.681
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclim.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.wst.server.preview.preview.
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:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)

onlineamateur commented on 2017-10-27 15:48

The build script is throwing an error due to the nailgun configure script not being executable. A simple `chmod +x org.eclim/nailgun/configure` fixes it.

modernrio commented on 2017-07-16 17:36

To use this packe with eclipse 4.7.0 the updated version eclim 2.7.0 is needed. Since the package version has not been updated yet, for anyone having problems, just change the pkgver to 2.7.0 and update the md5sum accordingly (8d23eb014423bf481349e854e21d18d0)

dbedrenko commented on 2017-07-16 07:04

Had to change all references to "/usr/share/eclipse" -> "/usr/lib/eclipse", as that is where the "eclipse-cpp" package installs Eclipse.

tsj commented on 2017-07-10 20:57

Just FYI to anyone else with this problem, the build doesn't work for the current eclipse, version 4.7.0. Upstream issue is here: https://github.com/ervandew/eclim/issues/518
And my build log is below.

EDIT: If you use the eclim-git pkgbuild from aur and change the branch to 'oxygen', do s|/usr/share/eclim|/usr/lib/eclim| in the pkgbuild, and install plantuml and python2-sphinxcontrib-plantuml, it works!

Buildfile: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build.xml

build:

gant:
[echo] ${eclipse}: /usr/lib/eclipse
[echo] # Skipping org.eclim.sdt, missing org.scala-ide.sdt.feature
[echo] # Skipping org.eclim.pydev, missing org.python.pydev.feature
[echo] # Skipping org.eclim.pdt, missing org.eclipse.php
[echo] # Skipping org.eclim.groovy, missing org.codehaus.groovy.jdt.patch
[echo] # Skipping org.eclim.dltkruby, missing org.eclipse.dltk.ruby
[echo] # Skipping org.eclim.dltk, missing org.eclipse.dltk.core
[echo] # Skipping org.eclim.cdt, missing org.eclipse.cdt
[echo] # Skipping org.eclim.adt, missing com.android.ide.eclipse.adt.feature
[echo] Plugins:
[echo] org.eclim.jdt
[echo] org.eclim.wst
build:
build.eclipse:
init:
[echo] eclim.version: 2.6.0
[echo] eclim.release: 2.6.0
[echo] eclim.release.indigo: none
org.eclim.jdt.classpath:
------ org.eclim.jdt.classpath
------ init
[echo]
[echo] building plugin: org.eclim
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim_2.6.0
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim
[javac] Compiling 40 source files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim
[javac] Note: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim/java/org/eclim/eclipse/ui/EclimEditorSite.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[jar] Building jar: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim_2.6.0/eclim.jar
[copy] Copying 45 files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim_2.6.0
org.eclim.build.eclipse:
[copy] Copying 1 file to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim_2.6.0/bin
[jar] Updating jar: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim_2.6.0/lib/nailgun-0.7.1.jar
------ org.eclim.build.eclipse
[echo]
[echo] building plugin: org.eclim.core
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.core_2.6.0
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim.core
[javac] Compiling 70 source files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim.core
[javac] Note: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.core/java/org/eclim/plugin/core/command/refactoring/AbstractRefactorCommand.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[jar] Building jar: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.core_2.6.0/eclim.core.jar
[copy] Copying 7 files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.core_2.6.0
[echo]
[echo] building plugin: org.eclim.vimplugin
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.vimplugin_2.6.0
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim.vimplugin
[javac] Compiling 33 source files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim.vimplugin
[jar] Building MANIFEST-only jar: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.vimplugin_2.6.0/eclim.vimplugin.jar
[copy] Copying 6 files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.vimplugin_2.6.0
org.eclim.vimplugin.build.eclipse:
[jar] Updating jar: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.vimplugin_2.6.0/eclim.vimplugin.jar
------ org.eclim.vimplugin.build.eclipse
[echo]
[echo] building plugin: org.eclim.jdt
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/eclipse/plugins/org.eclim.jdt_2.6.0
[mkdir] Created dir: /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim.jdt
[javac] Compiling 101 source files to /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/build/temp/classes/org.eclim.jdt
[javac] /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.jdt/java/org/eclim/plugin/jdt/command/correct/CodeCorrectCommand.java:398: error: cannot find symbol
[javac] JavaModelUtil.applyEdit(src, groupingEdit, true, null);
[javac] ^
[javac] symbol: method applyEdit(ICompilationUnit,TextEdit,boolean,<null>)
[javac] location: class JavaModelUtil
[javac] /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.jdt/java/org/eclim/plugin/jdt/command/include/ImportCommand.java:110: error: cannot find symbol
[javac] JavaModelUtil.applyEdit(src, edits, true, null);
[javac] ^
[javac] symbol: method applyEdit(ICompilationUnit,TextEdit,boolean,<null>)
[javac] location: class JavaModelUtil
[javac] /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.jdt/java/org/eclim/plugin/jdt/command/include/ImportCommand.java:130: error: cannot find symbol
[javac] JavaModelUtil.applyEdit(src, groupingEdit, true, null);
[javac] ^
[javac] symbol: method applyEdit(ICompilationUnit,TextEdit,boolean,<null>)
[javac] location: class JavaModelUtil
[javac] /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.jdt/java/org/eclim/plugin/jdt/command/include/ImportOrganizeCommand.java:104: error: cannot find symbol
[javac] JavaModelUtil.applyEdit(src, edit, true, null);
[javac] ^
[javac] symbol: method applyEdit(ICompilationUnit,TextEdit,boolean,<null>)
[javac] location: class JavaModelUtil
[javac] /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.jdt/java/org/eclim/plugin/jdt/command/include/ImportOrganizeCommand.java:116: error: cannot find symbol
[javac] JavaModelUtil.applyEdit(src, groupingEdit, true, null);
[javac] ^
[javac] symbol: method applyEdit(ICompilationUnit,TextEdit,boolean,<null>)
[javac] location: class JavaModelUtil
[javac] /tmp/yaourt-tmp-tsj/aur-eclim/src/eclim_2.6.0/org.eclim.jdt/java/org/eclim/plugin/jdt/command/junit/JUnitImplCommand.java:273: error: cannot find symbol
[javac] JavaModelUtil.applyEdit(src, edit, true, null);
[javac] ^
[javac] symbol: method applyEdit(ICompilationUnit,MultiTextEdit,boolean,<null>)
[javac] location: class JavaModelUtil
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 6 errors

BUILD FAILED

FordO commented on 2017-03-15 09:49

Error : failed to commit transaction (invalid or corrupted package)

ianks commented on 2017-01-10 17:54

I am unable to install this package: I am getting this error:


init:
[echo] eclim.version: 2.6.0
[echo] eclim.release: 2.6.0
[echo] eclim.release.indigo: none
------ init
[exec] Running Sphinx v1.5.1
[exec] A Translator for the html builder is changed.
[exec]
[exec] Extension error:
[exec] Could not import extension sphinx.builders.linkcheck (exception: cannot import name DependencyWarning)

BUILD FAILED
/tmp/makepkg/eclim/src/eclim_2.6.0/build.xml:114: The following error occurred while executing this line:
/tmp/makepkg/eclim/src/eclim_2.6.0/build.xml:165: : exec returned: 1

punk0x29a commented on 2016-09-04 10:58

Is there a possibility to get Scala autocompletion in Vim after all?
I've seen some posts on github and other sites where people claimed that they have managed to get it up and running...
The jar file downloaded from the main website installs and eclim server runs, but commands like PingEclim are not available from neither vim/neovim.
This one actually "works", but it can't install with Scala features enabled.
Thanks in advance for any help!

EDIT: Finally got it working

Step 1) Download and install official .jar installer
Step 2) ln -s ~/.vim/eclim ~/.config/nvim/eclim
Step 3) ln -s ~/.vim/plugin ~/.confing/nvim/plugin
Step 4) launch eclimd somewhere in ~/.eclipse/org.eclipse.platform_4.6.0(...)/eclimd

This gets Eclim to work with NeoVim and ScalaIDE

nunopcardoso commented on 2016-07-06 12:39

I had the same "java.lang.NoClassDefFoundError: groovy/lang/Script" problem and @paulolieuthier's snippet fixed the problem here.
Thank you! ;)

feo.me commented on 2016-06-22 17:33

I think groovy must be a build dependency. I can build this package only after install it & execute magic @paulolieuthier's script. I think this script must be in prepare phase.

All comments