Bug 296383 - JPA 2.0 server test script requires better rebuild integration with Eclipse IDE development
Summary: JPA 2.0 server test script requires better rebuild integration with Eclipse I...
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Kevin Yuan CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords: test
Depends on:
Blocks: 249213
  Show dependency tree
 
Reported: 2009-11-27 16:51 EST by Michael OBrien CLA
Modified: 2022-06-09 10:02 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2009-11-27 16:51:41 EST
>An eclipse IDE rebuild or clean will clear classes from org.eclipse.persistence.jpa.modelgen expected by eclipse.jpa.test/build.xml when running the server tests.

If you are developing in eclipse while running these server tests - note that there is currently an issue with the JPA 2.0 test framework where a full build in eclipse will remove classes expected by the server test ant script.

*You will see the following issue unless you do a full ant trunk build after any Eclipse IDE rebuild or clean.

<error type="java.lang.reflect.InvocationTargetException">
java.lang.reflect.InvocationTargetException Caused by: 
java.lang.NoClassDefFoundError: org/eclipse/persistence/testing/tests/jpa/criteria/metamodel/JUnitCriteriaSimpleTestSuite at org.eclipse.persistence.testing.tests.jpa.criteria.CriteriaServerTestSuite.suite(CriteriaServerTestSuite.java:34)
</error> 

>fix
Do a 2nd rebuild off of trunk or eclipselink.jpa.test after any IDE development.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:02:41 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink