eclim build failed

100 views
Skip to first unread message

ranamalo

unread,
Apr 12, 2012, 6:06:54 PM4/12/12
to eclim-dev
I am trying to build eclim from the code I cloned from git hub, but
it's failing. Here is what I've done so far:

downloaded eclipse and untarred it
cloned eclim:
$ git clone git://github.com/ervandew/eclim.git
$ cd eclim
$ git checkout 1.7.3

I tried to build with:
ant -Declipse.home=/home/user/eclipse

and got:

gant:
[echo] ${eclipse}: /home/user/eclipse
[echo] # Skipping org.eclim.dltk, missing org.eclipse.dltk.core
[echo] # Skipping org.eclim.pdt, missing org.eclipse.php
[echo] # Skipping org.eclim.wst, missing
org.eclipse.wst.web_ui.feature
[echo] # Skipping org.eclim.dltkruby, missing
org.eclipse.dltk.ruby
[echo] # Skipping org.eclim.cdt, missing org.eclipse.cdt
[echo] Plugins:
[echo] org.eclim.jdt
[echo] org.eclim.python


so I installed those missing features with:
DISPLAY=:1 ./eclipse -nosplash -consolelog -debug -application
org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/helios
-installIU <feature>.feature.group

I then tried again with:

ant -Declipse.home=/home/quique/eclipse

and get:


Buildfile: build.xml

deploy:

gant:
[echo] ${eclipse}: /home/user/eclipse
[echo] Plugins:
[echo] org.eclim.cdt
[echo] org.eclim.dltk
[echo] org.eclim.dltkruby
[echo] org.eclim.jdt
[echo] org.eclim.pdt
[echo] org.eclim.python
[echo] org.eclim.wst
deploy:
deploy.eclipse:
build:
build.eclipse:
init:
[echo] eclim.version: 1.7.3
------ init
[echo]
[echo] building plugin: org.eclim
[mkdir] Created dir: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim_1.7.3
[jar] Building jar: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim_1.7.3/eclim.jar
[copy] Copying 50 files to /home/user/eclim/build/temp/eclipse/
plugins/org.eclim_1.7.3
org.eclim.build.eclipse:
[copy] Copying 1 file to /home/user/eclim/build/temp/eclipse/
plugins/org.eclim_1.7.3/bin
[jar] Updating jar: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim_1.7.3/lib/nailgun-0.7.1.jar
------ org.eclim.build.eclipse
[echo]
[echo] building plugin: org.eclim.core
[mkdir] Created dir: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim.core_1.7.3
[jar] Building jar: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim.core_1.7.3/eclim.core.jar
[copy] Copying 9 files to /home/user/eclim/build/temp/eclipse/
plugins/org.eclim.core_1.7.3
[echo]
[echo] building plugin: org.eclim.vimplugin
[mkdir] Created dir: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim.vimplugin_1.7.3
[jar] Building MANIFEST-only jar: /home/user/eclim/build/temp/
eclipse/plugins/org.eclim.vimplugin_1.7.3/eclim.vimplugin.jar
[copy] Copying 6 files to /home/user/eclim/build/temp/eclipse/
plugins/org.eclim.vimplugin_1.7.3
org.eclim.vimplugin.build.eclipse:
[jar] Updating jar: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim.vimplugin_1.7.3/eclim.vimplugin.jar
------ org.eclim.vimplugin.build.eclipse
[echo]
[echo] building plugin: org.eclim.cdt
[mkdir] Created dir: /home/user/eclim/build/temp/eclipse/plugins/
org.eclim.cdt_1.7.3
[javac] Compiling 2 source files to /home/user/eclim/build/temp/
classes/org.eclim.cdt
[javac] /home/user/eclim/org.eclim.cdt/java/org/eclim/plugin/cdt/
project/CProjectManager.java:406: cannot find symbol
[javac] symbol : method
setConfiguration(org.eclipse.cdt.managedbuilder.internal.core.Configuration)
[javac] location: class
org.eclipse.cdt.managedbuilder.ui.wizards.CfgHolder
[javac] cfgs[i].setConfiguration(cfg);
[javac] ^
[javac] 1 error

BUILD FAILED
/home/user/eclim/build.xml:31: The following error occurred while
executing this line:
/home/user/eclim/build.xml:130: : Compile failed; see the compiler
error output for details.

Total time: 6 seconds



If you could please tell me what I'm doing wrong, I would appreciate
it.

Eric Van Dewoestine

unread,
Apr 13, 2012, 10:10:53 AM4/13/12
to ecli...@googlegroups.com

Eclipse is up to indigo now, so as noted in the eclim docs, you need
to use the relevant repository:

DISPLAY=:1 ./eclipse -nosplash -consolelog -debug -application

org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/indigo
-installIU <feature>.feature.group

This is most likely a result of installing the cdt from the helios
repository, but eclim 1.7.x only supports indigo. Reinstalling the cdt
using the indigo repository as noted above should resolve this.

> BUILD FAILED
> /home/user/eclim/build.xml:31: The following error occurred while
> executing this line:
> /home/user/eclim/build.xml:130: : Compile failed; see the compiler
> error output for details.
>
> Total time: 6 seconds
>
>
>
> If you could please tell me what I'm doing wrong, I would appreciate
> it.

--
eric

Reply all
Reply to author
Forward
0 new messages