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

Bug 322507

Summary: On a read-only installation, installing two sets of features into ~/.eclipse make both unavailable
Product: [Eclipse Project] Equinox Reporter: Michel Alexandre Salim <michel.salim>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: niels, pascal, pwebster, remy.suen
Version: 3.5.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michel Alexandre Salim CLA 2010-08-12 07:34:13 EDT
Build Identifier: 20100218-1602

If the eclipse directory is read-only, user-installed features are installed in ~/.eclipse . This works fine the first time the user requests a set of features to be installed (after restarting, the feature(s) work), but after installing a second set of features, both are disabled.


Reproducible: Always

Steps to Reproduce:
1. Install Eclipse
2. Set installation to read-only (chmod -R u-w eclipse)
3. Try installing the following, wiping ~/.eclipse after each try
- Android ADT then Scala IDE
- Scala IDE then Android ADT
- Android ADT then PyDev
- PyDev then Android ADT
- Android ADT then Google Plugin for Eclipse
Comment 1 Remy Suen CLA 2010-08-12 07:46:39 EDT
Issues and concerns about the provisioning system goes to Equinox/p2.
Comment 2 Pascal Rapicault CLA 2011-06-12 22:11:58 EDT
I tested this in 3.7 and it works.
Comment 3 Michel Alexandre Salim CLA 2011-06-14 04:05:38 EDT
Tested and confirmed working with 3.6.2 and 3.7.0 RC4 (both on x86_64)