| Summary: | Provide more control over the target platform cache | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Martin Aeschlimann <martinae> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | curtis.windatt.public, jeffmcaffer |
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Martin Aeschlimann
Ability to change the location of the bundle pool is enhancement/bug 282352. Ability to view the information there and force GC or deletion is part of bug 329387. I'm going to mark this as a dupe of the first bug. I do not know whether we will be working on fixing it in 3.7. Jeff is doing some work around targets and might be able to spend time on it. *** This bug has been marked as a duplicate of bug 282352 *** IMHO this is more a dupe of bug 329387. Martin is not particularly interested in the optimization proposed in bug 282352 so much as the control and visibility afforded by an advanced preference page. Regardless, the requested work does fall under another pre-existing bug. FWIW, from time to time I too have seen cases where the bundle pool *appeared* to be being shared between workspaces. I've no idea how that was happening but it sure was frustrating. With some of the more recent changes that I've contributed the situation should be better as PDE is now using its own p2 agent data area. I think the problem was coming from information leaking from workspace to workspace through the IDE's agent and preferences. As for sharing bundle pools, it would be cool and we may be able to do something but I currently do not have plans to do this for 3.7. Recent changes allow one bundle pool to *copy* from another local bundle pool thus eliminating the need to re-download. Still bloats the disk but disk is cheap :-) I'd be happy to help someone else that is interested in driving the sharing changes though... Thanks Jeff and Curtis for your comments! Yes, bug 329387 covers this request well. I've seen the bundle pool shared across workspaces two times already. I have no idea how the first workspace knew about the second workspace. Maybe it can happen when using 'Switch Workspace' to create the new workspace. Or my suspicion was it has to do with data in the Eclipse install. Just a question: Can I manually (on the file system) delete the cached bundles, and will they be reloaded? Or will bring PDE in troubles? I think what is happening is there are two workspaces but one eclipse install. PDE used to use the IDE p2 agent data area to manage the profiles that backed Software Site target provisioning. This means that, for example, two workspaces having .target files of the same name would end up using the same profile. The profile contains the location of the bundle pool so, voila, (unintended) sharing. If my theory is correct, creating a new target (with a new name) should fix up the problem. Its either that or some cross fertilization. Either way, I don't think that deleting the bundle pool would help. Certainly you can try, it should not corrupt PDE (the pool will just be recreated) You could also try with one of the more recent I builds to see if that addresses the problem. They should have the changes to use a separate p2 data area. |