Hi Andrew,
Still no luck with the -javaagent option.
Which platform (os, jdk) are you running on?
Are you using some additional conf?
tks
- eric
On 11/01/2011 14:58, Eric Charles wrote:
Hi Andrew,
I remember to have tried months ago the -javaagent option (as
documented on openjpa site) without success.
Maybe my jdk was not up-to-date...
I will also add your tip on web site ;)
Tks,
Eric
On 11/01/2011 14:51, Andrew S. Tomlinson wrote:
I also had this problem getting started and resolved it by adding
this to my
run configuration VM arguments in Eclipse
-javaagent:your home
folder\.m2\repository\org\apache\openjpa\openjpa\2.0.1\openjpa-2.0.1.jar
Andrew S. Tomlinson
Principal - Excelsis Inc
317 Lee Ave, Toronto ON M4E 2P7
T: 416 716 2751
W: http://www.excelsis.ca
---------------------------------------------------------------------
This message contains confidential and proprietary information of the
sender, and is intended only for the person(s) to whom it is
addressed. Any
use, distribution, copying or disclosure by any other person is strictly
prohibited. If you have received this message in error, please
notify the
e-mail sender immediately, and delete the original message without
making a
copy.
-----Original Message-----
From: Eric Charles [mailto:[email protected]]
Sent: January-11-11 8:41 AM
To: James Developers List
Subject: [Tip] JPA dev in eclipse
Hi,
I'm currently developing in eclipse for IMAP-228 (Name JPA Database
Tables and Columns).
Changing the JPA annotations and running with m2eclipse (with workspace
resolution enabled) gave problems here: the classes were not enhanced,
altough the 'Maven Builder' is being invoked.
The solution is to invoke manually (from eclipse) the 'maven package'.
The classes are enhanced and you can benefit from debugging,... in
eclipse.
I will add this to http://james.apache.org/server/3/dev-build.html.
Maybe interesting if you are currently hacking on JPA.
Tks,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]