Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Testing change

The testing framework has now been modified to allow proper testing of the extended Eclipselink configurations from XML.
 
You now need to set a system property to run the extended XML tests. The property is:
 
 -Dorm.testing=jpa (default), or
 -Dorm.testing=eclipselink
 
Also note, that if testing the extended configurations you must only have the eclipselink-xml-extended-model.jar on the classpath.  On the flip side, for jpa testing do not include this jar on the classpath.
 
The classes in the extended jar are available from the other testing jars. Therefore, including all the jars together on the classpath will cause unexpected results and errors since individual classes can only be weaved once (within the context of the first jar file where it is processed).
 
Cheers,
Guy
 

Back to the top