Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] How to spec EE for "resource only" bundles?


I suggest omitting the Bundle-RequiredExecutionEnvironment header for a bundle that does not have any dependency on Java. This follows the general rule of thumb of keeping your dependencies as small as possible. I don't think we can really say what the lowest possible EE is - someone could always come along in the future with a smaller EE than those we have today. It certainly does matter what you do for these bundles, since OSGi will not resolve the bundle if its EE requirement is not satisfied at runtime. An overly restrictive EE header will prevent a bundle from resolving for no good reason. Unfortunately, that doesn't really help you with the problem of tracking down bundles that really do have a Java dependency but are missing the EE header.

John



David M Williams <david_williams@xxxxxxxxxx>
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx

28/05/2007 01:55 AM

Please respond to
Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>

To
cross-project-issues-dev@xxxxxxxxxxx
cc
Subject
[cross-project-issues-dev] How to spec EE for "resource only"        bundles?






I'm thinking of bundles that don't contain any Java code ... such as doc plugins, infopop (help) bundles, source?


I'm assuming it basically doesn't matter? So, should it be "lowest" possible EE? Or, should it be none? Is it even "used" by runtime
for these types of bundles, or can it tell that they are "resource only" bundles?


Besides "getting it right", I'm also trying to think of easy way to find bundles that should have one specified, but don't.


Any advise?


BTW, I have noticed at least one doc bundle that specified J2SE-1.5, and wonder if this was running on an "info server", that was running a JRE 1.4 server if it would be cause that doc from being available?

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Back to the top