Re: Maven BND plugin and building WAR files with dependencies

2010-07-11 Thread Rickard Öberg
On 2010-07-12 11.53, Richard S. Hall wrote: Just an FYI, certain errors during framework startup can be problematic when the framework shutdown hook is enabled. You can disable the shutdown hook with felix.shutdown.hook=true in conf/config.properties. Not sure if that is what you are seeing, but

Re: Maven BND plugin and building WAR files with dependencies

2010-07-11 Thread Richard S. Hall
On 7/11/10 23:37, Rickard Öberg wrote: On 2010-07-10 03.20, hapa li wrote: Packaging war file with BND is a pain full process. Try Spring DM web extender. Yeah, but it seems I'd have to replace "painful" with "impossible". It's so sad. On paper doing webapps as bundles looks like an awesome

Re: Maven BND plugin and building WAR files with dependencies

2010-07-11 Thread Rickard Öberg
On 2010-07-10 03.20, hapa li wrote: Packaging war file with BND is a pain full process. Try Spring DM web extender. Yeah, but it seems I'd have to replace "painful" with "impossible". It's so sad. On paper doing webapps as bundles looks like an awesome alternative, as we can do jar sharing an

Re: Sharing the jar files across all the application

2010-07-11 Thread Xu Huisheng
Hi Mahammad, The first way you metioned is the way OSGi recommended. In the second way, you could put these classes in the bootstrap classloader, and let system bundle exported these classes. Then all of bundles in the framework could access them. I didn't like this way, because these classe

Re: Sharing the jar files across all the application

2010-07-11 Thread Guo Du
On Sun, Jul 11, 2010 at 7:03 AM, Mahammad Nasir 00900514 wrote: > Can you tell me what could be the problems if i dont make it as a bundle? > > Currently i am using the second method which is working fine, i am not able > to anticipate the problem now. What do you want to share for those jars? If