Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] adding support for creation of column indices

Hi Dies,

  They run successfully for me in Eclipse.

  Some comments inline:

Dies Koper wrote:
Hi Tom,

The JPA test suite is completely JUnit based. Here is a getting started page for running the tests:

http://wiki.eclipse.org/EclipseLink/Development/Testing/JPA

I recommend choosing to run the tests either in Ant or in Eclipse. There are instructions on the page above indicating how to do either.

So far I've been running them from Ant (the full set).
Now that I've completed a full run, I'd like to run single tests, so running them from Eclipse would be great.

Do they work for you in Eclipse?

I get the following errors:
- The working directory for FullRegressionTestSuite is set to ${workspace_loc:eclipselink.jpa.test/run}. I suppose that should have been ${workspace_loc:eclipselink.jpa.test}/run.

The ${workspace_loc:eclipselink.jpa.test/run} works for me in Eclipse. (I am running Eclipse Galileo, but prior to Galileo, it was running on Ganymede). One thing that potentially causes an issue here is the lack of an actual "run" directory. That directory is created by our ant build, or you can explicitly create it. Do you have that directory?

When I run a single test, I make a copy of the FullRegressionTestSuite Launch file with the Eclipse copy functionality and them make any required changes. Usually I just need to change the test class.

- Project javax.xml.bind cannot be found. I haven't been able to resolve this one yet.

Take a look at the "plugins" section here:

http://wiki.eclipse.org/EclipseLink/Building

Your options are to either get the project from orbit as explained on the page above, or to remove the project-dependency and, instead use the jar file that is found in our repository. Look in <home>\trunk\plugins for that file. Each component also has a plugins directory if there are other libraries you cannot find.

-Tom

This is on Eclipse Ganymede.

I'll try setting up the JUnit runner myself tomorrow (i.e. not using the included launch files), see if that works.

Cheers,
Dies

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top