Hi Gianny, I use this all the time. On my Run configuration for the application that I am running I will put something like the following as a JVM argument...
-javaagent:C:/eclipse.workspaces/3.2.2/openjpa-1.2.0/openjpa-all/target/openjpa-1.2.0.jar This should kick in the PCEnhancerAgent for the Entity classes that are being loaded. Kevin On Fri, Jan 30, 2009 at 3:53 AM, Gianny Damour < [email protected]> wrote: > Hi, > > I am unable to get javaagent based enhancement work within Eclipse. > > Based on a cursory review of PCEnhancerAgent, I can see that no > ClassFileTransformer is installed when > > List<String> anchors = Configurations. > getFullyQualifiedAnchorsInPropertiesLocation(opts); > > returns an empty list, which it does in my case when I simply specify the > following JVM arg > > -javaagent:<path to>/openjpa-1.2.0.jar > > > Any hint? > > Thanks, > Gianny > > > > >
