|org.eclipse.gemini.jpa.test.common fails to build because of DataSourceFactory [message #941617]
||Fri, 12 October 2012 18:04
| Jay Billings
Registered: July 2011
I am trying to build some junit tests around JPA classes in an OSGi plug-in. I want to thoroughly test the database interactions in Hudson regularly to catch regressions. I am hoping to use org.eclipse.gemini.jpa.test.common so that I can extend the TestActivator and avoid having to write my own.
I cloned the git repository and loaded the project into Eclipse. I modified my target to match the test.common target (correct versions). However, there is an error when Eclipse tries to build TestActivator.java:
"DataSourceFactory cannot be resolved to a type"
I haven't changed anything about the project. Just imported it. I have exact same MANIFEST.MF file with the import-package line for org.osgi.service.jdbc.
My target contains org.eclipse.osgi (3.7.2) and osgi.enterprise (4.2).
Have any of you encountered this error before? Any suggestions?
On the other hand, I don't think I need the DSF. Is it possible that I could run my tests without it?
Thanks in advance,
Jay Jay Billings
Oak Ridge National Laboratory
Powered by FUDForum
. Page generated in 0.05196 seconds