Maybe the Eclipse plugins for OpenJPA would help -
http://openjpa.apache.org/openjpa-eclipse-tooling.html
It's still a work in-progress, so any usage and feedback would be great.
-Donald
On 3/5/10 1:15 PM, No1UNo wrote:
>
> 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.
|