openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar" <>
Subject RE: Can enhancer operate on jar files?
Date Wed, 21 Feb 2007 18:25:24 GMT
 > That implies that I'm that own the development cycle of this code.   
> In this case, I just get a jar from the user.

With current facilities:
1. Unpack the entire content of the original jar to some "temp"
2. Run enhancer with "temp" in classpath and *not* the original jar
3. Jar the "temp" directory 
4. Overwrite the original jar, optinally

This way, if the original content contained other files (meta-inf etc.)
will be packaged exactly in the  final jar.
Enhancer will not require to handle rewriting of a Jar file's content. 

Pinaki Poddar
BEA Systems

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.

View raw message