eclipse 3.5.1-0ubuntu6 dropins functionality not working

Bug #445539 reported by Dominic Evans
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
Undecided
Niels Thykier
Nominated for Karmic by Alwin Garside

Bug Description

Binary package hint: eclipse

# Description

The eclipse package has the following line in eclipse.ini:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

This is the standard way to define a shared location where eclipse plugins can be placed to be loaded in by eclipse on startup. I have had a similar setup working on my eclipse 3.5 binary installation downloaded from eclipse.org in the past.

However, using the new eclipse package, this dropins folder does not seem to get loaded in. Is the p2 dropins capability not supported in the new eclipse ubuntu package?

p.s. many many many thanks for packaging and uploading eclipse 3.5.1 in Ubuntu karmic! This work is enormously appreciated!

ProblemType: Bug
Architecture: i386
Date: Wed Oct 7 15:07:33 2009
DistroRelease: Ubuntu 9.10
Package: eclipse 3.5.1-0~ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
Dominic Evans (oldmanuk) wrote :
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

I am unsure if this is fixed in eclipse 3.5.1-0~ubuntu2, but I expect it to be fixed in eclipse 3.5.1-0~ubuntu3.

~Niels

Changed in eclipse (Ubuntu):
status: New → In Progress
assignee: nobody → Niels Thykier (niels-thykier)
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

We believe this is fixed in eclipse 3.5.1-0ubuntu3.

~Niels

Changed in eclipse (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Dominic Evans (oldmanuk) wrote :

Hi Niels,

Still seems to be broken in latest 3.5.1-0ubuntu6 package for me.

If you have a set of .options debug settings you'd like me to run with I can provide trace to help fix the issue?

Regards,
Dom

summary: - eclipse 3.5.1-0~ubuntu1 dropins functionality not working
+ eclipse 3.5.1-0ubuntu6 dropins functionality not working
Changed in eclipse (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi Dominic

Could I have you remove (or rename) your ~/.eclipse your workspace. Then after eclipse has loaded (and the dropins should have been handled), close eclipse and find $WORKSPACE/.metadata/.log (usually ~/workspace/.metadata/.log) and post it here.

~Niels

Revision history for this message
Alwin Garside (yogarine) wrote :

I had compiled the 3.5.1-0ubuntu4 source package this weekend and it doesn't work in that version either.

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Hi Niels,

The .log has indeed spotted the problem.

3.5.1-0ubuntu6 does not include './plugins/org.eclipse.update.core.linux_3.2.100.v20081008.jar', only the source package './plugins/org.eclipse.update.core.linux.source_3.2.100.v20081008.jar'

The official 3.5.1 binary package from eclipse.org does include this jar.

Workspace .log below:

!SESSION 2009-10-19 11:04:31.337 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr5-20090519_35743 (JIT enabled, AOT enabled)
J9VM - 20090519_035743_lHdSMr
JIT - r9_20090518_2017
GC - 20090417_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86 -debug -data /tmp/LP-445539

!ENTRY org.eclipse.equinox.p2.engine 4 4 2009-10-19 11:05:38.364
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-19 11:05:38.364
!MESSAGE session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.update.core.linux 3.2.100.v20081008, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-10-19 11:05:38.364
!MESSAGE The artifact file for osgi.bundle,org.eclipse.update.core.linux,3.2.100.v20081008 was not found.

Revision history for this message
Dominic Evans (oldmanuk) wrote :

$ find /usr/lib/eclipse -name "*update.core.linux*"
/usr/lib/eclipse/plugins/org.eclipse.update.core.linux.source_3.2.100.v20081008.jar

$ find /opt/eclipse-SDK-3.5.1 -name "*update.core.linux*"
/opt/eclipse-SDK-3.5.1/plugins/org.eclipse.update.core.linux_3.2.100.v20081008.jar
/opt/eclipse-SDK-3.5.1/plugins/org.eclipse.update.core.linux.source_3.2.100.v20081008.jar

Revision history for this message
Dominic Evans (oldmanuk) wrote :

whilst fixing this bug, it might be worth just tidying up the eclipse.ini to only specify dropins once in the correct (non-vmargs) place

(see attached patch)

Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #454819, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.