Hi,

You war bundle can import any package available in the OSGi container and hence 
can use it.

Freeman
-------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-7-26, at 下午9:05, wagner wrote:

> Many thanks,
> 
> karaf@root> list | grep fzlbpms
> [ 248] [*Active*     ] [            ] [       ] [   60]
> ops4j_pax_war_archetype_fzlbpms_template (1.0.0.SNAPSHOT)
> 
> whith folowing Package-Import configuration:
> <Import-Package> 
>                                    !com.google.inject, 
>                                    !com.google.inject.binder, 
>                                    !com.google.inject.util,
>                                    !com.opensymphony.webwork.dispatcher,
> 
> !com.opensymphony.webwork.dispatcher.mapper,
>                                    !com.opensymphony.xwork,
>                                    !com.opensymphony.xwork.config,
>                                    !com.opensymphony.xwork.util,
>                                    !javax.faces,
>                                    !javax.faces.application,
>                                    !javax.faces.context,
>                                    !javax.faces.el,
>                                    !javax.faces.lifecycle,
>                                    !javax.portlet,
>                                    !net.sf.hibernate,
>                                    !nu.xom,
>                                    !org.apache.bsf,
> 
>                                   * !org.apache.commons.io,
>                                    !org.apache.commons.io.output,*
> 
>                                   * !org.apache.log,*
> 
>                                    !org.apache.struts.action,
>                                    !org.apache.struts.config,
>                                    !org.apache.struts.util,
> 
>                                    !org.hibernate,
>                                    !org.hibernate.classic,
>                                    !org.hibernate.engine,
>                                    !org.hibernate.proxy,
>                                    *!org.springframework.**,
>                                    javax.servlet, javax.servlet.http,
> !javax.jws, * </Import-Package>
>                                       
> 
> I'm really not planning to use the most of dwr dependecies that was
> excluded, but I am afraid that some them are vital to dwr works properly,
> like 
> 
> org.apache.log
> org.apache.commons.io,
> org.apache.commons.io.output
> and maybe org.apache.bsf
> 
> and, if you don't mind, I'd like to ask you:
> 
> Considering that servicemix provide spring and apache log bundles, is there
> a way to make dwr recognize these  bundles and make dwr use it as its
> dependencies? 
> 
> thanks again
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Servlet-Class-is-not-found-by-servicemix-in-WEB-INF-lib-package-tp5713940p5714001.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to