dev@glassfish.java.net

Re: [V3]How to load a jar that has not been OSGi'fied

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 05 Jun 2008 19:09:13 -0700

Does it look like this issue:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5084 ?

thanks,
-marina

Kin-man Chung wrote:
> As part of the exercise to separate out JSP codes into an independent
> project, jasper is now packaged as a HK2 bundle. It depends on the
> package org.apache.logging. If I just get logging jar file from
> apache.maven repository, it cannot be loaded at runtime. So I'll need
> to use the bundle that has been OSGi'fied in glassfish. However, that
> is not available from a public repo. So JSP is now only buildable after
> I build glassfish, since by then that bundle will be available in my .m2
> repo! :-)
>
> Is there a reason why we cannot load a jar file that has not been
> OSGi'fied? Seems like a bug to me.
>
> Suggestions? Thanks.
>
> -Kin-man
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>