openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henno Vermeulen <he...@huizemolenaar.nl>
Subject RE: Best approach for performing OpenJPA enhancement in Eclipse Indigo
Date Wed, 30 Nov 2011 12:59:01 GMT
We also run with the javaagent during development and use the openjpa-maven-plugin for creating
deployable builds.

Henno

-----Oorspronkelijk bericht-----
Van: Rick Curtis [mailto:curtisr7@gmail.com] 
Verzonden: dinsdag 15 november 2011 20:56
Aan: users@openjpa.apache.org
Onderwerp: Re: Best approach for performing OpenJPA enhancement in Eclipse Indigo

Jerry -

I use two approaches for Entity enhancement. When running / developing unit
tests in Eclipse, I run with the -javaagent enhancer[1]. This is nice for
quick development and works for a majority of cases. Then when I build from
the command line, we (OpenJPA) drop of out maven into ant[2][3], using the
maven-antrun-plugin to enhance our Entities.

Thanks,
Rick

[1] http://openjpa.apache.org/runtime-enhancement.html
[2] http://openjpa.apache.org/enhancement-with-ant.html
[3]
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml?view=markup

On Tue, Nov 15, 2011 at 1:33 PM, Jerry Carter <jerry@jerrycarter.org> wrote:

>
> I'm in the process of updating my development environment.  Anyone
> currently having Eclipse automatically perform enhancements?  I'd love to
> compare notes.
>
> I see four routes:
>
> (1) Custom ANT builder, as per <
> http://openjpa.apache.org/enhancement-with-eclipse.html>
>        - Quite a few steps and needs to be done for each project.
>
> (2) OpenJPA plugin for Eclipse, as per <
> http://openjpa.apache.org/enhancement-with-eclipse.html>
>        - This looks dead, very dead.
>
> (3) From Maven using the openjpa-maven-plugin, as per <
> http://openjpa.apache.org/enhancement-with-maven.html>
>        - Possibly dead, or at least very quiet.
>        - Does not appear to work in Indigo even with <
> https://github.com/hwellmann/m2eclipse-extras/wiki>
>
> (4) From Maven using the maven-antrun-plugin, as per <
> http://openjpa.apache.org/enhancement-with-maven.html>
>
> Did I miss anything?  Any preferred approaches?
>
> Thanks much.
>
> -=- Jerry




-- 
*Rick Curtis*

Mime
View raw message