Installation problems with eclim 1.7.6 on Eclipse 3.7.2

522 views
Skip to first unread message

Arne Schmitz

unread,
Aug 3, 2012, 4:49:22 AM8/3/12
to eclim...@googlegroups.com
I am trying to install eclim and get the followin error log:

!SESSION 2012-08-03 10:38:06.290 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.equinox.p2.director -repository file:///tmp/formic_1123276700/update -installIU org.eclim.installer.feature.group
Command-line arguments:  -clean -application org.eclipse.equinox.p2.director -repository file:///tmp/formic_1123276700/update -installIU org.eclim.installer.feature.group

!ENTRY org.eclipse.equinox.p2.engine 4 4 2012-08-03 10:38:11.913
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-08-03 10:38:11.913
!MESSAGE session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu.source 4.4.2.v20110823, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddSourceBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2012-08-03 10:38:11.913
!MESSAGE The artifact file for osgi.bundle,com.ibm.icu.source,4.4.2.v20110823 was not found.

I am at a loss how to fix this, being an Eclipse newbie. Any ideas?

Best regards,

Arne

Arne Schmitz

unread,
Aug 3, 2012, 9:24:39 AM8/3/12
to eclim...@googlegroups.com

Am Freitag, 3. August 2012 10:49:22 UTC+2 schrieb Arne Schmitz:
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-08-03 10:38:11.913
!MESSAGE session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu.source 4.4.2.v20110823, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddSourceBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2012-08-03 10:38:11.913
!MESSAGE The artifact file for osgi.bundle,com.ibm.icu.source,4.4.2.v20110823 was not found.


I think the problem is, that I don't have write access to that particular directory where Eclipse is installed. Can Eclim be installed outside of the Eclipse home directory? Eclipse is system wide installed on my machine.

Best regards,

Arne

Eric Van Dewoestine

unread,
Aug 4, 2012, 11:32:49 AM8/4/12
to eclim...@googlegroups.com
On 2012-08-03 06:24:39, Arne Schmitz wrote:
>
> Am Freitag, 3. August 2012 10:49:22 UTC+2 schrieb Arne Schmitz:
> >
> > !MESSAGE An error occurred while installing the items
> > !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-08-03 10:38:11.913
> > !MESSAGE session context was:(profile=SDKProfile,
> > phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null
> > --> [R]com.ibm.icu.source 4.4.2.v20110823,
> > action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddSourceBundleAction).
> > !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2012-08-03
> > 10:38:11.913
> > !MESSAGE The artifact file for
> > osgi.bundle,com.ibm.icu.source,4.4.2.v20110823 was not found.

What OS are you on? If you're on linux, which distro?
Did you install eclipse using a package manager or using one of the
downloads from eclipse.org (if so, which one)?

This is an odd error to receive. Eclim isn't doing anything special
here, it's just asking eclipse to install a feature which it should be
able to do. Some users have reported their eclipse installs getting
into some state where they can't install any new features (eclim or
others). Is this an eclipse install you've had for a while? Can you
run the eclipse gui and see if you can install any other features?

> I think the problem is, that I don't have write access to that particular
> directory where Eclipse is installed. Can Eclim be installed outside of the
> Eclipse home directory? Eclipse is system wide installed on my machine.
>
> Best regards,
>
> Arne

Eclipse supports installing features (eclim in this case) even if you
don't have write access to the base eclipse install. It does this by
installing the new features under:

~/.eclipse/org.eclipse.platform_<version>/...

The eclim installer invokes eclipse to actually install the eclim
feature, so you don't need write access to the system wide eclipse
install.

--
eric

Arne Schmitz

unread,
Aug 6, 2012, 5:09:16 AM8/6/12
to eclim...@googlegroups.com
Am Samstag, 4. August 2012 17:32:49 UTC+2 schrieb Eric Van Dewoestine:
What OS are you on? If you're on linux, which distro?
Did you install eclipse using a package manager or using one of the
downloads from eclipse.org (if so, which one)?

I am running this on Debian Squeeze. The Eclipse I am using is from one of the eclipse.org packages, I guess. I haven't installed it, so I don't know, but it is definitely not a Debian package.
 
This is an odd error to receive. Eclim isn't doing anything special
here, it's just asking eclipse to install a feature which it should be
able to do. Some users have reported their eclipse installs getting
into some state where they can't install any new features (eclim or
others). Is this an eclipse install you've had for a while? Can you
run the eclipse gui and see if you can install any other features?
 
Hm, I am a total Eclipse newbie. How can I try that? I found the window for installing additional software, but I don't seem to have any repositories. Does Eclim have one?

Best regards,

Arne

Arne Schmitz

unread,
Aug 6, 2012, 5:10:38 AM8/6/12
to eclim...@googlegroups.com
Am Freitag, 3. August 2012 10:49:22 UTC+2 schrieb Arne Schmitz:
I am trying to install eclim and get the followin error log:

As a workaround I have installed a local copy of Eclipse. That worked pretty fine, but in the long term I'd rather use our system wide Eclipse installation.

Best regards,

Arne

Ben Fritz

unread,
Aug 7, 2012, 11:00:09 AM8/7/12
to eclim...@googlegroups.com
Perhaps this is related to the problems I had with trying to install Eclim into a local settings dir for a global Eclipse install?


Eric made an update to his installer scripts, but I don't know if they made it to a release yet, and I also don't know whether they only affect installing from source or whether they also affect using the installer.

My workaround was also to install Eclipse from the Eclipse.org download page into a user-local directory. It seems to be working fine for now.

Eric Van Dewoestine

unread,
Aug 7, 2012, 11:53:11 AM8/7/12
to eclim...@googlegroups.com
On 2012-08-07 08:00:09, Ben Fritz wrote:
> Perhaps this is related to the problems I had with trying to install Eclim
> into a local settings dir for a global Eclipse install?
>
> https://groups.google.com/d/topic/eclim-user/rZfNxJGALq0/discussion
>
> Eric made an update to his installer scripts, but I don't know if they made
> it to a release yet, and I also don't know whether they only affect
> installing from source or whether they also affect using the installer.

Those changes only affected building from source. The eclim installer
has accounted for user local eclipse configurations for several years,
and as of 1.7.5 it uses p2 for everything, making the install process
slower, but ensuring that eclipse is doing all the work to prevent the
rare cases where eclipse wouldn't recognize that eclim was installed.

So in theory, as of 1.7.5, any errors where eclipse fails to install a
feature should indicate a problem with eclipse.
--
eric

Eric Van Dewoestine

unread,
Aug 7, 2012, 12:06:53 PM8/7/12
to eclim...@googlegroups.com
On 2012-08-06 02:09:16, Arne Schmitz wrote:
> Am Samstag, 4. August 2012 17:32:49 UTC+2 schrieb Eric Van Dewoestine:
> >
> > What OS are you on? If you're on linux, which distro?
> > Did you install eclipse using a package manager or using one of the
> > downloads from eclipse.org (if so, which one)?
> >
>
> I am running this on Debian Squeeze. The Eclipse I am using is from one of
> the eclipse.org packages, I guess. I haven't installed it, so I don't know,
> but it is definitely not a Debian package.

Can you confirm this by running:

$ dpkg --get-selections "*eclipse*"

Can you also see what the "eclipse.p2.profile" property is set to in
$ECLIPSE_HOME/configuration/config.ini (replace $ECILPSE_HOME with the
location of your global eclipse install).

> > This is an odd error to receive. Eclim isn't doing anything special
> > here, it's just asking eclipse to install a feature which it should be
> > able to do. Some users have reported their eclipse installs getting
> > into some state where they can't install any new features (eclim or
> > others). Is this an eclipse install you've had for a while? Can you
> > run the eclipse gui and see if you can install any other features?
> >
>
> Hm, I am a total Eclipse newbie. How can I try that? I found the window for
> installing additional software, but I don't seem to have any repositories.

When you open dialog via "Help > Install New Software", the first
input/dropdown labeled "Work With:" has the list of currently
available repositories. So that list is empty for you? If so, then
you can add "http://download.eclipse.org/releases/indigo/" to get the
indigo repository since you are using 3.7.2. Once you have that repo
available, you can install something like "C/C++ Development Tools" or
"PHP Development Tools" to see if your eclipse version can install
either of those packages.

> Does Eclim have one?

Unfortunately it doesn't since installing eclim requires more than
just adding a feature to eclipse.
Reply all
Reply to author
Forward
0 new messages