|Problem with WeavingHook starting too late [message #1066011]
||Fri, 28 June 2013 16:45
| Gerald Rosenberg
Registered: July 2009
I am using Eclipse 4.3 and ObjectWeb ASM in a plugin to add some low level instrumentation to "org.eclipse.swt.widgets.Display". |
When I launch the Eclipse workbench as an Eclipse application, the plugin works correctly: my WeavingHook method is called with classes as they are being loaded, beginning shortly before the loading of Display.class.
The problem is, after my plugin has been installed using P2, the calls to WeavingHook start after Display.class has already been loaded.
My weavinghook.xml specifies enabled="true" immediate="true"
I have set the plugin to be "unpacked" after installation with P2.
Is there a way to ensure that my weaving hook is activated before a specific class or bundle is loaded?
Any idea of what is causing the problem?
Powered by FUDForum
. Page generated in 0.02254 seconds