Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 88078 - [osgi] support running on read-only configuration area
Summary: [osgi] support running on read-only configuration area
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Rafael Chaves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 87033
Blocks: 88234
  Show dependency tree
 
Reported: 2005-03-15 11:47 EST by Rafael Chaves CLA
Modified: 2005-05-06 13:53 EDT (History)
3 users (show)

See Also:


Attachments
patch for org.eclipse.osgi (2.98 KB, patch)
2005-04-07 16:59 EDT, Rafael Chaves CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Chaves CLA 2005-03-15 11:47:12 EST
i20050308

Should support running on a read-only file system. The configuration would have
to be primed beforehand, because no bundles could be installed afterwards.

This is related to eliminating any location-specific paths from the metadata
stored at the configuration location (bug 72851).
Comment 1 Rafael Chaves CLA 2005-03-15 18:23:37 EST
Some support for this has been released. 
Comment 2 Rafael Chaves CLA 2005-03-16 13:15:48 EST
At the framework/adaptor/runtime registry level, things are working fine (we
start/ryun/shut down without ever trying to write anything). 

Don't know what else we want to do for 3.1 here. Suggestions?
Comment 3 Rafael Chaves CLA 2005-04-07 16:59:56 EDT
Created attachment 19666 [details]
patch for org.eclipse.osgi

Further changes: the following operations won't do any work when in read-only
mode:

- AbstractFramework#compactStorage()
- DefaultAdaptor#save()
- EclipseAdaptor#save()

Tom, can you review?
Comment 4 Rafael Chaves CLA 2005-04-08 10:03:17 EDT
The changes proposed are less comprehensive and overlap the ones proposed in bug
64479. Tom, I suggest we address that one first.
Comment 5 Rafael Chaves CLA 2005-05-04 13:50:57 EDT
Comment on attachment 19666 [details]
patch for org.eclipse.osgi

Marking patch as obsolete. Will attach a new patch to bug 64479.
Comment 6 Rafael Chaves CLA 2005-05-06 13:53:53 EDT
I ended up releasing the changes described in comment 3. Will update the patch
for bug 64479 to not include these changes.