dev@glassfish.java.net

Re: dol module - incorrect Import-Package entries

From: Richard S. Hall <heavy_at_ungoverned.org>
Date: Mon, 27 Jul 2009 17:25:20 -0400

On 7/27/09 5:27 PM, Jitendra Kotamraju wrote:
> com.sun.enterprise.deployment.Application(dol module) uses
> org.glassfish.resource.common.Resource(common-util module). But the
> bnd tool doesn't generate Import-Package for Resource's package. It
> seems like bnd tool doesn't process generics correctly as the
> Application class uses only List<Resource>. Richard knows about this
> issue and will follow up on this.
>
> In the mean time, can we add a dummy method(without generics), or
> Import-Package enty to fix this ?

I would recommend just adding:

<Import-Package>org.glassfish.resource.common,*</Import-Package>

In the maven-bundle-plugin configuration section of the pom file for
that module with a comment to remove the line once this is fixed in BND.

-> richard

>
> thanks,
> Jitu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>