David is correct Aries JPA added load-time enhancement support and Classpath scanning support (i.e. runtime detection of entity classes) in trunk about 2 months ago. There's nothing you need to do to switch this on other than run in a 4.3 compatible framework.
We test on Equinox 3.7 milestone 6 - this is available at http://download.eclipse.org/equinox/drops/S-3.7M6-201103101119/index.php I don't know how other frameworks are doing at implementing OSGi 4.3, but once they have support for BundleWiring and Weaving Hooks then the new features should spring to life there as well. Regards, Tim ---------------------------------------- > Subject: Re: Avoiding OpenJPA Build Time Enhancement with Aries? > From: [email protected] > Date: Mon, 13 Jun 2011 12:47:07 -0700 > To: [email protected] > > On Jun 13, 2011, at 11:08 AM, Harald Wellmann wrote: > > > Am 13.06.2011 19:48, schrieb David Jencks: > > > >> I haven't figured out exactly how you turn it on, although I think > >> the examples or itests show how, but the aries jpa support has > >> load-time weaving without a javaagent working with an osgi 4.3 > >> framework (i.e. equinox). > > > > Sounds good, I'm using Equinox - which version of Equinox would that be > > (for OSGi 4.3)? > > > If you build aries it pulls down a suitable version of equinox. I'm not sure > any appropriate versions are available directly through maven yet. > > david jencks > > > Regards, > > Harald > > >
