On Friday 05 March 2010 21:15:39 No1UNo wrote:

That don't work with groovy projects. So, you need to enhance with eclipse 
plugin, org start enhanced by maven and connect via remote debug.

> I wanted to share my configuration in case it proves helpful to others.
> Perhaps someone has an even better solution.  If so, I'd love to hear it.
> 
> I am building in Eclipse 3.5 with Maven 2.2.  Class enhancement is
> automatically invoked from Maven using openjpa-maven-plugin 1.0.  This
>  works great for building installable libraries but doesn't help with
>  debugging.
> 
> For debugging, OpenJPA enhancement can be invoked from Eclipse by
>  specifying '-javaagent:eclipse/openjpa.jar' in the 'Run/Debug Settings'
>  menu.  This must be done for every launch configuration that you wish to
>  debug which can be an annoying pain.  I've simplified slightly by creating
>  a new 'eclipse' directory off the project which contains a symbolic link
>  to the desired version of OpenJPA.
> 
> NOTE: There is a fragile dependency (version sensitivity).  If you upgrade
> OpenJPA versions in pom.xml, say from 1.2.1 to 1.2.2, the symbolic link
>  MUST be updated as well.
> 


-- 
WBR Turtle//BAZON Group

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to