On 5/28/12 21:03 , Matias SM wrote:
Hi again Richard,
I've been investigating further and I realized my confusion came
because it seems that, while OBR takes into account the installed "by
hand" bundles to resolve as requested, it doesn't respond about those
resources (associated to the bundles installed "by hand").
That is, if I try to "resolve()" a bundle by using the
RepositoryAdmin, it knows about the installed by hand bundles. But, if
I try to "getResources()" or "discoverResources(..)", I get no results.
Is there a way of getting the installed "by hand" resources from the
RepositoryAdmin without creating a repository?
Off the top of my head, I don't know. I would assume that the
RepositoryAdmin is only querying actual repositories for
discoverResources() et al, so you won't get back resources from the
"fake" local repository.
Not sure what is the correct thing here, but I'm inclined to think the
current behavior makes sense, since technically installed bundles do
*not* form a repository (e.g., it is not possible to download them).
-> richard
Thank you in advance for your help
Kind regards
On 28/05/12 13:59, matias san martin wrote:
Pretty much, but now I know it should be the same behavior, I will
investigate further and let you know.
Thank you for your response
Kind regards
________________________________
De: Richard S. Hall<[email protected]>
Para: [email protected]
Enviado: lunes, 28 de mayo de 2012 13:29
Asunto: Re: OBR RepositoryAdmin content in embeded framework
I don't believe there should be any difference. Gogo doesn't do
anything special. OBR simply creates a "repository" for locally
installed bundles. Are you sure you are invoking OBR the same in
both situations?
-> richard
On 5/25/12 20:06 , Matias SM wrote:
Hi everybody,
I'm wondering about a difference in the behavior of OBR when using
a Felix framework from gogo with respect to an embedded one.
Using gogo, if I install and start a bundle through the command
line (gogo), If another bundle queries the (OBR) repositoryAdmin,
it would be able to "see" the first bundle (the one installed "by
hand").
However, doing some testing with an embedded framework, if I
install (and start) a bundle "directly" in the framework, then
another started bundle is not being able to "see" the first one.
The questions:
- Is this an expected behavior?
- What should I do to be able to "see" the installed "by hand"
bundle in the 2nd use case (the one with an embedded framewor)? The
only way is by creating a repository and adding it to the
repositoryAdmin?
- What does "gogo" do that lets the first use case work?
Thank you in advance for any comment about this.
Kind regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]