geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <eric.phettepl...@twcable.com>
Subject OpenEJB Testing in Eclipse
Date Thu, 18 Dec 2008 15:17:56 GMT

Hello All,

I hope I'm saving someone some time here with this information.

I have an OpenEJB project, using OpenJPA for persistence.  In order for my
junit tests to work, I had to do the following:

Create a Junit configuration in Run Configuration and set the following:

 Choose your test cases

 Add to the classpath any projects etc. that have dependent EJBs

 Add the Apache OpenEJB-3.1 jars to the classpath.

 Add
-javaagent:c:\progra~1\apache~1\openejb-3.1\lib\openejb-javaagent-3.1.jar as
a VM argument (use the path to your openejb jar).


-- 
View this message in context: http://www.nabble.com/OpenEJB-Testing-in-Eclipse-tp21074730s134p21074730.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message