[orbit-dev] Finding and Validating Import-Package(s)
I've been trying to validate "Import-Package"s in a few of the
Orbit to ensure we didn't accidentally miss a needed import.
In particular I think we should try to be good OSGi citizens and am looking
to catch non "java.*" packages from the VM so am using
So far, I've found a few misses primarily for xml packages like:
I suspect they're missing in other bundles too so it might be worth a look.
Note: Those packages "usually" come from the system bundle which
dependent on the EE, so it might be a good idea to update your manifest
have a 1.4 VM at the top, even if your bundle could conceivably be run
Foundation 1.0 with separate XML bundles.
My real question is if there's a best practice here that we could put up
e.g. What's the best way to find and validate your Import-Package statements
as doing it manually yourself is error-prone.
Is there a way to validate an exisiting bundle?
I tried the "create bundle from jar" wizard (analyze and add
checked ) from the latest IB however this added the "exports"
but not the
"imports" to the manifest. Is this a bug or ...?
orbit-dev mailing list