>It is kind of a pain to unpack a jar, enhance it and repack it. How about compile, enhance and then jar?
> 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. Pinaki Poddar BEA Systems 415.402.7317 -----Original Message----- From: Dain Sundstrom [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 10:02 AM To: open-jpa-dev@incubator.apache.org Subject: Can enhancer operate on jar files? Can the OpenJPA enhancer operate on a Jar file? It is kind of a pain to unpack a jar, enhance it and repack it. -dain _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.