[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipselink-users] osgi dynamic weaving initialization problem
|
I've tried a few times to get dynamic weaving working following the
example application [1]
The application functions fine, but without any weaving which I tested
as recommended:
Helper.classImplementsInterface(Person.class, PersistenceWeaved.class)
With some use of the debugger it appears to me that hookconfigurators
provided by
org.eclipse.persistence.jpa.equinox.weaving are not being registered
in the HookRegistry.
The weaving bundle fragments are resolved as seen in the following
osgi short status:
0 ACTIVE org.eclipse.osgi_3.5.0.v20090520
Fragments=4
1 ACTIVE org.eclipse.equinox.common_3.5.0.v20090520-1800
2 RESOLVED org.eclipse.persistence.jpa.equinox_1.1.2.v20090612-r4475
Master=8
3 ACTIVE org.eclipse.persistence.antlr_1.1.2.v20090612-r4475
4 RESOLVED org.eclipse.persistence.jpa.equinox.weaving_1.1.2.v20090612-r4475
Master=0
5 ACTIVE javax.persistence_1.99.0.v200906021518
6 ACTIVE org.eclipse.persistence.asm_1.1.2.v20090612-r4475
7 ACTIVE org.eclipse.update.configurator_3.3.0.v20090312
8 ACTIVE org.eclipse.persistence.jpa_1.1.2.v20090612-r4475
Fragments=2
9 ACTIVE myplugin_1.0.0.qualifier
10 ACTIVE org.eclipse.persistence.core_1.1.2.v20090612-r4475
I have specified the vm argument:
-Dosgi.framework.extensions=org.eclipse.persistence.jpa.equinox.weaving
But presumably that wouldn't impact the registry of the available
hookconfigurators.
Is there anything that I maybe did wrong that could be preventing the
identification of the
hookconfigurators? Am I on the wrong track?
Thanks - Ted
[1] http://wiki.eclipse.org/EclipseLink/Examples/OSGi/Equinox_Byte_Code_Weaving