|Re: [p2-dev] multiple bundle pools|
|The ability to explicitly deal with multiple bundle pool through a regular provisioning operation is not implemented - which is why this bug is still open.|
At this point p2 deal with one bundlepool which can be located anywhere and shared by multiple installs. By default the eclipse install folder is a bundle pool and it is the only case where roaming is supported.
The mechanism that backs p2.cache.extensions property only supports read only repos (a bundle pool is another name for a local repository). This code has been added to support the case of the dropins and other legacy setups of extension locations where it was possible to store plugins in random folders by unzipping them in place.
For p2 to write into different pools, the existing code would have to be changed, or a new type of repository allowing for this kind of thing to happen would be added. For example you could imagine having a new type of repo that would know how to write to specific sub repos and know how to route the bundles into the appropriate place.
Now to step back a bit, what are you trying to achieve?
Where would you expect the information on where to store the bundle to come from?
On 2011-11-24, at 9:37 AM, Kapukaranov, Borislav wrote:
Back to the top