Package Details: eclim 2.8.0-3

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: 121
Popularity: 1.146353
First Submitted: 2006-10-27 18:37
Last Updated: 2019-01-28 07:27

Dependencies (13)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

ReekyMarko commented on 2019-04-06 11:10

Just an fyi, this doesn't build on the latest openjdk. I only got it to build with jdk8-opendjk

petronny commented on 2019-01-28 07:28

@solarus Thanks! Your patch has been applied.

solarus commented on 2019-01-26 17:22

I got it working with the diff to the PKGBUILD below. Also note that the export JAVA_HOME=/usr/lib/jvm/java-8-openjdk line can be replaced with export ANT_OPTS="--add-modules java.xml.bind" if you want to build with jdk-10

@@ -36,4 +36,9 @@ prepare() {
   # ant/build.gant syntax error
   sed '68,71d' -i ant/build.gant
+
+  find -name "*.java" -exec sed -i -e 's/StubUtility2/StubUtility2Core/' \
+    -e 's/corext.codemanipulation.StubUtility;/core.manipulation.StubUtility;/' {} +
+
+  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
 }

@@ -48,5 +53,4 @@ build() {
   cd ../..

-  JAVA_HOME=/usr/lib/jvm/java-8-openjdk \
   ant -lib /usr/share/groovy/lib \
       -Declipse.home=/usr/lib/eclipse \

Sonnilon81 commented on 2019-01-23 03:18

This port is currently broken due to an upstream build issue with eclim when using the latest 4.10 Arch port of Eclipse:

https://github.com/ervandew/eclim/issues/601

Build fails since it cannot find StubUtility.java.

ron89 commented on 2018-11-15 06:05

The build problem is caused by the hardcoding JAVA_HOME to openjdk-8 in PKGBUILD line 50, commenting this line out solves the issue.

Note to maintainer: if openjdk-8 must be used for some reason, PATH should also include /usr/lib/jvm/java-8-openjdk/jre/bin/

gary commented on 2018-11-04 14:14

@roper I had similar issues while trying to upgrade eclim with trizen. but setting the java-8-openjdk ( sudo archlinux-java set java-8-openjdk ) as default java environments solved the issue for me.

roper commented on 2018-11-03 09:20

Can you please help?

BUILD FAILED /home/rob/.cache/aurman/eclim/src/eclim_2.8.0/build.xml:27: The following error occurred while executing this line: /home/rob/.cache/aurman/eclim/src/eclim_2.8.0/build.xml:163: : Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"

While

% archlinux-java status Available Java environments: java-10-jre/jre java-8-jdk java-8-openjdk/jre java-9-jdk (default)

I grepped /etc and home and did not find any JAVA_HOME setting...

asdas commented on 2018-10-28 12:01

@asiels Thanks. I think the problem is that it is hardcoded in the PKGBUILD. The line 33 is - "source /etc/profile.d/apache-ant.sh".

I would need to manually create apache-ant.sh in order for this to work but why would I do that. Ant is installed on my machine so I just deleted the line and installed eclim.

asiels commented on 2018-10-28 05:28

@asdas adding ant to the env would probably work. export ANT_HOME=/usr/share/ant export PATH=$PATH:$ANT_HOME/bin

or create the /etc/profile.d/apache-ant.sh with them yourself. https://bbs.archlinux.org/viewtopic.php?pid=1811742#p1811742

asdas commented on 2018-10-23 21:06

Hello, building the package now fails with

eclim/PKGBUILD: line 33: /etc/profile.d/apache-ant.sh: No such file or directory

I guess apache-ant.sh isn't part of the ant package anymore.