Issue Details (XML | Word | Printable)

Key: GRECLIPSE-498
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Andrew Eisenberg
Reporter: Joel Wiegman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GRECLIPSE

Installation on Eclipse 3.5.1 fails in Ubuntu

Created: 05/Nov/09 08:48 AM   Updated: 31/Jan/10 10:12 PM
Return to search
Component/s: None
Affects Version/s: 2.0.0m1, 2.0.0m2
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. XML File feature.xml (4 kB)

Environment:
Ubuntu 9.10
JDK 1.6
Eclipse 3.5.1
Issue Links:
Duplicate
 


 Description  « Hide

Clean install of Ubuntu, and clean install of Eclipse from Ubuntu's package manager.

Pointing to the Development Build update site for 3.5 ( http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/) yields the following error:

Cannot complete the install because of a conflicting dependency.
Software being installed: Groovy-Eclipse Feature 2.0.0.xx-20091104-1700-e35 (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20091104-1700-e35)
Software currently installed: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
Only one of the following can be installed at once:
Java Development Tools Core 3.5.1.v_972_R35x (org.eclipse.jdt.core 3.5.1.v_972_R35x)
Java Development Tools Core 3.5.1.xx-20091104-1700-e35 (org.eclipse.jdt.core 3.5.1.xx-20091104-1700-e35)
Cannot satisfy dependency:
From: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
To: org.eclipse.jdt.core [3.5.1.v_972_R35x]
Cannot satisfy dependency:
From: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
To: org.eclipse.jdt.feature.group [3.5.1.r351_v20090810-0600-7r88FEoFHxXYpY3s0jOJPn58EpLN]
Cannot satisfy dependency:
From: Groovy-Eclipse Feature 2.0.0.xx-20091104-1700-e35 (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20091104-1700-e35)
To: org.codehaus.groovy.jdt.patch.feature.group [2.0.0.xx-20091104-1700-e35]
Cannot satisfy dependency:
From Patch: org.codehaus.groovy.jdt.patch.feature.group 2.0.0.xx-20091104-1700-e35 Eclipse Java Development Tools 3.5.1.r351_v20090810-0600-7r88FEoFHxXYpY3s0jOJPn58EpLN (org.eclipse.jdt.feature.group 3.5.1.r351_v20090810-0600-7r88FEoFHxXYpY3s0jOJPn58EpLN)
To: org.eclipse.jdt.core [3.5.1.xx-20091104-1700-e35]



Andrew Eisenberg added a comment - 05/Nov/09 12:41 PM

Not sure what is going on here.

Could you try downloading Eclipse directly from Eclipse.org instead of using the package manager?

Your jdt.core feature version is different from the one shipped with Eclipse 3.5.1. This really /shouldn't/ make a difference, but this might be a problem.


Joel Wiegman added a comment - 05/Nov/09 01:40 PM

We've actually successfully installed the plugin with the following combinations:

3.4.2 (from Eclipse.org) and Ubuntu
3.5.1 (from Eclipse.org) and OpenSUSE

The version in the Ubuntu package manager appears to correspond to 3.5.1 milestone 2.

I'll go out on a sturdy limb and say 3.5.1 from Eclipse.org would work. Pretty sure that most Ubuntu folks would rather use the package manager though.

Let me know what other information I can provide.


Andrew Eisenberg added a comment - 05/Nov/09 02:15 PM

Ugggh. These versioning issues are not fun to deal with. I wonder what use is 3.5.1 M2?

Another possibility (again, not a solution, but a workaround) is to run software update before installing Groovy-Eclipse so that you are sure to be working with 3.5.1 final, rather than a milestone.


Joel Wiegman added a comment - 05/Nov/09 02:30 PM

I did a "Help" -> "Check for Updates" in Eclipse and a dialog pops up says "There is nothing to update."

I'll never pretend to understand Eclipse's Update Manager, but I've never been able to update from a milestone release to a major release through the Update Manager.

I've installed the Subversive updates and the m2eclipse plugin, and it seems to like them.


Joel Wiegman added a comment - 05/Nov/09 02:46 PM - edited

I have more interesting info.

My "Help" -> "About Eclipse SDK" yields the following information:

Version: 3.5.1
Build id: M20090917-0800

And when I go here:

http://download.eclipse.org/eclipse/downloads/

It looks like that's the exact timestamp for the version I would download from Eclipse.org!

So, it looks like I'm on the blessed version of 3.5.1 from Eclipse.org... conceptually anyway.


Andrew Eisenberg added a comment - 05/Nov/09 02:50 PM

Interesting...I was going to try to install from 3.5.1M2, but it is not even available any more from eclipse.org.

Can you please attach your feature.xml from your jdt feature?

eclipse/features/org.eclipse.jdt_<some_garbagy_string>/feature.xml

This would let me know exactly what versions you have installed. Thanks.


Joel Wiegman added a comment - 05/Nov/09 03:08 PM - edited

Attached jdt feature.xml from Ubuntu package manager installation


Joel Wiegman added a comment - 05/Nov/09 03:51 PM

For what it's worth, I downloaded the 3.5.1 version from Eclipse and the plug-in installed just fine (as I think we both expected).


Andrew Eisenberg added a comment - 05/Nov/09 04:05 PM

I am posting to the p2 mailing list. Something odd is going on. The only difference between the feature.xml you sent me and the one for 3.5.1 final is the version of the org.eclipse.jdt branding feature. This should not have any effect on installation.


Joel Wiegman added a comment - 06/Nov/09 06:40 AM

If it helps, the folks that manage the Eclipse distribution for Ubuntu (https://launchpad.net/~eclipse-team) can be reached at eclipse-team@lists.launchpad.net


Michael Maretzke added a comment - 10/Dec/09 07:59 AM

Hi guys,

I just tried to install the latest Groovy plug-in (from http://dist.springsource.org/milestone/GRECLIPSE/e3.5/) on the Ubuntu 9.10 packaged Eclipse version (Galileo, Version: 3.5.1 Build id: M20090917-0800).

There is a history in why folks on Ubuntu utilize the packaged 3.5.1 version of Eclipse. With the update from Ubuntu 9.04 to 9.10 the Linux guys did improve the GTK version and introduced a "mouse doesn't react as expected" problem (https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/443004). The solution is as described in the before mentioned site to download a specially patched eclipse version.

This all should be solved with 3.6.0 - but that's currently not stable enough to work with.

Long explanation - but I guess you still don't have a work-around for my installation problem?

I ran into the same dependency issue described in this thread ...

Best regards,
Michael.


Andrew Eisenberg added a comment - 10/Dec/09 10:26 AM

Well, that explains why the 3.5.1 package is different on Ubuntu. And so you are saying that because of bug 443004, it is not possible for you to use the eclipse downloaded directly from eclipse.org?

What is happening here, I think is that the patched version of Eclipse on Ubuntu uses a version of the Eclipse platform feature with tight version requirements for the jdt core feature. When Groovy-Eclipse comes along and wants to change that, there is a P2 error because the jdt core feature version needs to change (and the platform feature will not let it). I am not sure of the way around this.

Please let me know if this is a blocker for you (ie- downloading from eclipse.org is a bo go) and I will explore more.