Also, at the moment, only annotated classes are supported for run-time enhancement. I still can live without successful enhancement as I've apparently been doing but ClassTransformer has been the only place that has allowed me to dynamically add packages needed by the byte manipulation library (PojoEntityTuplizer for instance is adding HibernateProxy interface). So in order for classes from xml files not to cause NoClassDefFoundErrors I have to either enabled the runtime enhancement and hardcode the packages needed by the byte manipulation library at hand which I'm currently doing or use compile time dependencies to Hibernate which just would make things too complicated. It would be great if the ClassTransformer could tell straight out which packages are needed by the byte manipulation library even when the enhancing itself isn't done. This way I woudn't have to blindly add a bunch of predefined packages to my as OSGi Dynamic-Import |