On Feb 20, 2007, at 1:13 PM, Pinaki Poddar wrote:
It is kind of a pain to unpack a jar, enhance it and repack it.
How about compile, enhance and then jar?
That implies that I'm that own the development cycle of this code.
In this case, I just get a jar from the user.
Can the OpenJPA enhancer operate on a Jar file?
If runtime enhancement is in effect via
(-javaagent:/path/to/openjpa.jar) then the unenhanced persistent
domain
classes be packed into a jar and referred in persistence.xml in
<jar-file> tag. The classes will get enhanced as they are loaded in
JVM
but original jar will remain unaltered.
I was attempting to not use runtime enhancement due to vm hangs, but
I think the problem is in the Apple VM itself now.
-dain