You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by José Luis Cetina <ma...@gmail.com> on 2014/02/25 19:07:00 UTC
Enhancement jar as dependency
Hi, i have actually a project with their own classes already enhancement,
now i want to reuse that classes as a maven dependency in other project, do
i have to try to re-enhance that classes again? or is enough to enhance
only we that classes belong (jar)?
Regards
Re: Enhancement jar as dependency
Posted by Albert Lee <al...@gmail.com>.
>From what you said, I assume your project has entities classes that are
enhanced ( i.e. build time enhancement) and possibly built in a jar file.
Now you have another project that wants to use those entities. If
positive, the entities already has the additional byte code and does not
need to be re-enhanced for use.
One simple way to check is the entity class file size is 2+ times larger
after it has been enhanced.
Albert.
On Tue, Feb 25, 2014 at 12:07 PM, José Luis Cetina <ma...@gmail.com>wrote:
> Hi, i have actually a project with their own classes already enhancement,
> now i want to reuse that classes as a maven dependency in other project, do
> i have to try to re-enhance that classes again? or is enough to enhance
> only we that classes belong (jar)?
>
>
> Regards
>
--
Albert Lee.