Sounds odd.
Does it eventually resolve correctly?
Is 23 importing from other bundles that also import org.restlet.service?
Is this something you can boil down to one or two bundles? If so, please
post their manifests.
-> richard
Mark Derricutt wrote:
Hey all,
I've having some weird issues when updating my bundles:
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.1]
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.1]
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.0]
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.0]
Bundle 23 both exports, and imports org.restlet.* in its bnd configuration.
Each time I update the bundle, the list of constraint violations just grows
with references to the previous versions of the bundle.
What would cause this? Would this likely be something from another bundle
holding onto class references/instances from my bundle 23? If I call
'refresh' on the package things seem to clear up ok.
The bundle operates as an extender style thing, watching for other bundles
matching a certain condition (header), and pulling class's from it, which
should be GC'd and no longer used/referenced after bundle 23 is updated.
Any thoughts of what I'm missing, or possibly not doing right?
mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]