Thanks a ton Richard. 
Following your algorithm, I could achieve exactly what I was looking for.
The only thing I find a little finicky, is that, we can not specify a
sequence in which the repositories needs to get searched( correct me if I am
wrong) for the bundle resolving to happen. To achieve that, I had to modify
the felix OBR source code. I changed the map definition in
RepositoryAdminImpl class to "private Map m_repoMap = new LinkedHashMap();"
from simple hashmap. Please suggest if there is a better way to do it. 
Just to reiterate my requirement, I need to resolve the bundle from my local
repository(if it is already there), and then look into the remote
repositories in the specified order.

->krish
-- 
View this message in context: 
http://www.nabble.com/Retaining-bundles-installed-in-OSGI-virtual-machine-from-remote-OBR%2C-in-local-OBR-tp19033664p19090292.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to