Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 215557

Summary: [prov] support shared installs
Product: [Eclipse Project] Equinox Reporter: Andrew Overholt <overholt>
Component: p2Assignee: Andrew Overholt <overholt>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jason.madden, jverhaeg, pascal, simon_kaegi, thatnitind
Version: 3.4   
Target Milestone: 3.4   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 208601, 214276, 215559, 215560, 215561, 221173, 228999    
Bug Blocks:    

Description Andrew Overholt CLA 2008-01-16 15:36:41 EST
This is a tracker bug for the work items required to support shared installations.
Comment 1 Pascal Rapicault CLA 2008-04-18 21:44:20 EDT
*** Bug 226976 has been marked as a duplicate of this bug. ***
Comment 2 Pascal Rapicault CLA 2008-04-30 21:36:20 EDT
For 3.4 we have done enough to bring us back to the position where UM was. Removing milestone.
Comment 3 Jason Madden CLA 2008-05-09 13:37:20 EDT
As of M7, shared installs are also non-functional on the Mac. 

1) Make the eclipse install directory read-only.
2) Launch eclipse. Use the update manager to install a plugin (such as Subclipse, say). Notice the plugin was installed in ~/.eclipse/ as expected.
3) Restart eclipse. Notice that it fails to launch:

!SESSION 2008-05-09 12:08:17.879 -----------------------------------------------
eclipse.buildId=I20080502-0100
java.version=1.5.0_13
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_GB
Command-line arguments:  -os macosx -ws carbon -arch x86 -consoleLog

!ENTRY org.eclipse.osgi 4 0 2008-05-09 12:08:18.554
!MESSAGE Startup error
!STACK 1
java.lang.IllegalArgumentException: Bundle "reference:file:plugins/org.eclipse.core.runtime_3.4.0.v20080421-1805.jar" has been uninstalled
at org.eclipse.osgi.framework.internal.core.StartLevelManager.getBundleStartLevel(StartLevelManager.java:371)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:328)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
Comment 4 Pascal Rapicault CLA 2008-05-09 13:55:43 EDT
Jason, please open a different bug report so we can properly track the issue. Thx.
Comment 5 Jason Madden CLA 2008-05-09 14:17:34 EDT
(In reply to comment #4)
> Jason, please open a different bug report so we can properly track the issue.
> Thx.
> 

Sure, no problem. I've opened bug 231349.
Comment 6 Pascal Rapicault CLA 2008-09-08 14:08:49 EDT
Shared install has been addressed in 3.4. Closing as fixed and leaving the individual bugs open.