On 5/11/12 11:03 , Thierry Templier wrote:
Okay, I see. Is it possible to see this information in the felix shell?

lb -u

See "help lb"


Is it the first parameter to specify to the installBundle method?

Not necessarily. Bundles can specify "Bundle-UpdateLocation" in their manifest. However, it is a really bad idea to use this manifest header and it is really the only reason why "lb -u" is necessary, since it is a hidden way for the bundle to change the update location. If not specified, though, it is the location parameter given to installBundle.

-> richard

Thanks,
Thierry

A bundle has a property location. This is where the framework tries to load the update from.

In Karaf you see this using list -u

karaf@root> list -u
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Level  Update location
[  86] [Active     ] [            ] [   80] mvn:com.vaadin/vaadin/6.7.1
[ 95] [Active ] [ ] [ 80] mvn:net.lr/vaadinbridge/0.0.1-SNAPSHOT [ 97] [Active ] [Created ] [ 80] mvn:net.lr/vaadinexample1/0.0.1-SNAPSHOT

So update 97 would look in the maven repo for the jar to update.

Christian

---------------------------------------------------------------------
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]

Reply via email to