Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Eclipse IDE users: Running the testing browser (JPA) in Eclipse (compilation error workaround)

Everyone,
    For the past week, the testing browser has had compilation issues because of a testing classpath change that is not fully qualified..

"Failed to set up org.eclipse.persistence.testing.tests.jpa.AllCMP3TestRunModel
java.lang.NoClassDefFoundError: org/eclipse/persistence/testing/tests/jpa/criteria/metamodel/JUnitCriteriaSimpleTestSuite"

    To be able to run the testing browser (JPA) in the Eclipse IDE, comment out (reverse) the following change for now until this is fixed by the contributing developer.
    Note: any build changes should be tested as well in Eclipse to see if any .classpath or .launch changes are required.

http://fisheye2.atlassian.com/browse/eclipselink/trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/FullRegressionTestSuite.java?r1=5531&r2=5690

Workaround: recomment line 213


213   -         //suite.addTest(org.eclipse.persistence.testing.tests.jpa.criteria.metamodel.JUnitCriteriaSimpleTestSuite.suite()); 
    213 +         suite.addTest(org.eclipse.persistence.testing.tests.jpa.criteria.metamodel.JUnitCriteriaSimpleTestSuite.suite()); 


    thank you
    /michael

Back to the top