We have 2 jars with a Main class in Karaf, only one of those is an OSGi bundle, and in this case, it has an activator defined, so yeah, it could work I think.
On Fri, Sep 24, 2010 at 00:06, Marcel Offermans <[email protected]> wrote: > On 23 Sep 2010, at 23:29 , Guillaume Nodet wrote: > >> I'd go with #3. Especially if you plan to deploy in Karaf, i'd avoid >> #1 because Karaf has some bundles with a Main-Class attribute which >> would cause undesired side effects if you scan all bundles with this >> attribute and start those. > > Just out of interest, do those bundles *also* have a bundle activator > (manifest entry)? If so, you could write #1 to not process those. > > Greetings, Marcel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

