Just have a look at our main launcher (trunk/main). It does pretty much what you are trying to do.
regards, Karl On Fri, May 14, 2010 at 12:38 AM, Elliot Huntington <[email protected]> wrote: > Hello Felix Users, > > I've been following the examples at > http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html. > I've found the caveat listed at the end very important. ;) > > I'm brand new to Felix/OSGi so I'm having trouble accomplishing my > goal. Basically, all I want to do is create a simple maven project > that will produce an executable jar file that when clicked will launch > Felix and any bundles that it finds. > > For example given this directory stucture: > > /app > |- my_felix_app.jar > |- /bundles > |--|- bundle1.jar > |--|- bundle2.jar > > I want to be able to run the my_felix_app.jar and have that launch > Felix and run the code in the 2 bundles. > > Does anyone have a bare bones application that does something like > this already they could share with me? > > Thanks, > Elliot > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

