Hi,

The <foo.bar.MyClass> is just present in your Java code, but does not exist in the bytecode. However, BND analyzes the bytecode to compute required packages. So, it don't find the foo.bar package except if you really use it in our code (with a foo.bar.X variable or field...).

Regards,

Clement

On 31.03.2009, at 08:02, [email protected] wrote:

Hello,

I have a class with declares something like
List<foo.bar.MyClass>.
For this class, maven-bundle-plugin generates a manifest file without
foo.bar in the Import-Package list. While this is not a problem at
runtime, Eclipse says that the class cannot be compiled, because the
package foo.bar cannot be found.

Can I force maven-bundle-plugin/bnd to consider also the generic types
when generating the manifest?

Thanks

-- clovis

______________________________________
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn diese E-Mail nicht für Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu informieren und sie zu loeschen.

This e-mail message may contain information, which is confidential and protected. If you are not the intended recipient of this message, we ask you to inform us immediately and delete the message afterwards.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to