Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 265210 - Support additional bases for making paths in bundles.info relative
Summary: Support additional bases for making paths in bundles.info relative
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 289133
  Show dependency tree
 
Reported: 2009-02-17 15:24 EST by James D. Miles CLA
Modified: 2020-02-24 01:58 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James D. Miles CLA 2009-02-17 15:24:43 EST
Build ID: I20090129-1800

Steps To Reproduce:
 1. Unzip eclipse SDK to c:\35work\thumb\rcp
 2. Mount a flash drive on F:\
 3. start with script
	.\eclipse.exe  -data f:\35work\thumb\workspace -configuration f:\35work\thumb\workspace\.config -debug -console 
 4. Provision HelloWorld with p2 UI
 5. Restart
 6. OK. HelloWorld is active. But bundles.info contains the full path to bundle
	HelloWorld,1.0.0,file:/F:/35work/thumb/workspace/plugins/HelloWorld_1.0.0.jar,4,false
 7. Shutdown SDK, unmount flash drive
 8. Mount something else on F:
 9. Mount flash drive on G:
10. Change script to reflect the new drive location (g:\)
	.\eclipse.exe  -data g:\35work\thumb\workspace -configuration g:\35work\thumb\workspace\.config -debug -console 
11. Launch SDK with script
12. HelloWorld is not loaded into OSGi

Problems with scenario
- bundles.info needs to keep a relative location to the user's bundle pool, workspace, or configuration so that user bundles can be loaded.
- There should be errors but I can find no log file
- The p2 UI shows the HelloWorld bundle as installed. In the old update UI it would be shown as broken.


More information:
Comment 1 Pascal Rapicault CLA 2009-02-18 21:50:01 EST
This use-case is not supported at the moment. Identifying the base location automatically will likely be challenging.
Comment 2 Pascal Rapicault CLA 2009-02-18 22:08:25 EST
Actually I'm thinking that this would not necessarily reset all the configurations that could be related to the file and I think we would be better off finding a way to kick an installation as part of the startup.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:04:04 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Ed Merks CLA 2020-02-24 01:58:50 EST
I don't see a pressing need for such a feature, nor is there resource to deal with additional complexity.