FYI: Here is the bug that tracks the initial work to get dynamic weaving working
in Equinox.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=233728There is still some work left to get it working properly and to document how to
use it.
-Tom
Shaun Smith wrote:
> Hi Tim,
>
> Our initial dynamic weaving support for Equinox is currently being
> integrated into the trunk. You can't use the agent to make it work.
> OSGi classloading is very different from Java SE so it requires special
> support. In the meantime you can use static weaving for OSGi apps.
>
> Unfortunately, the implementation of dynamic weaving is platform
> specific so we need to find ways of doing it for each OSGi runtime.
> We're starting with Equinox and hope to provide support in other runtimes.
>
> Shaun
>
> Tim Hollosy wrote:
>> Alright, I'm trying to get dynamic weaving working in an RCP app.
>>
>> First off the M7 osgi release jars didn't work, i ended up having to
>> download the .core & .jpa plugins from source (M7 tag).
>>
>> The osgi stuff works fine with the M7 plugins from svn source, however
>> I thought dynamic weaving was supposed to work now. So, I added
>> -javaagent:c:\\eclipselink.jar to my vmargs and launch my application
>> and it fails with the following error:
>>
>> FATAL ERROR in native method: processing of -javaagent failed
>>
>> ClassNotFoundException: javax.persistence.spi.PersistenceUnitInfo
>> .
>> .
>> . and so on.
>>
>> I'm a complete newbie to doing any sort of weaving, and the directions
>> didn't really make it clear where exactly the eclipselink.jar should
>> be placed (Does it have to be inside one of my bundles maybe?).
>>
>> Any help on how to actually use it inside eclipse launching an RCP app
>> would be nice.
>>
>> Thanks,
>> Tim
>> _______________________________________________
>> eclipselink-users mailing list
>>
eclipselink-users@...
>>
https://dev.eclipse.org/mailman/listinfo/eclipselink-users>>
>
> --
>
>
> Oracle <
http://www.oracle.com>
> Shaun Smith | Principal Product Manager, TopLink | +1.905.502.3094
> Oracle Fusion Middleware
> 110 Matheson Boulevard West, Suite 100
> Mississauga, Ontario, Canada L5R 3P4
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> eclipselink-users mailing list
>
eclipselink-users@...
>
https://dev.eclipse.org/mailman/listinfo/eclipselink-users_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users