g! b = context:installbundle file:mybundle-1.2.3.jar g! $b start where context:installbundle is a direct call to the installBundle method on the BundleContext i.e. not error handling if you provide wrong or incorrect arguments
Derek On 3 February 2011 16:40, Steele, Richard <[email protected]> wrote: > Is there a way to install and start a bundle in one step? That is, rather > than having to do > > g! install file:/... > Bundle ID: 27 > g! start 27 > > I'd like to be able to start the bundle without having to know its id; > e.g., > > g! install file:/....;start > > and have the start command infer the bundle id magically. This, of course, > doesn't work in gogo, and is just a suggested syntax. > > Any hints? > > Thanks, > Rich >

