Bug 213377 - Update test scripts to be usable from trunk build scripts and jdbc variable in projects
Summary: Update test scripts to be usable from trunk build scripts and jdbc variable i...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: Fixed in 1.0M4
Keywords: test
Depends on:
Blocks:
 
Reported: 2007-12-18 16:32 EST by Tom Ware CLA
Modified: 2022-06-09 10:19 EDT (History)
2 users (show)

See Also:


Attachments
proposed patch (17.82 KB, patch)
2007-12-18 16:33 EST, Tom Ware CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Ware CLA 2007-12-18 16:32:36 EST
Currently when you run jpa and core testing out of the build.xml found in trunk, you get some errors due to relative paths.  Update the build.xml files in eclipselink.core.test and eclipselink.jpa.test to have the component prepended to all the files referenced in the run.test target.

Also, currently there is only on variable in EclipseLink Eclipse Projects for the JDBC driver.  This does not allow you set up so you can concurrently compile the oracle extensions and run the tests on a non-oracle database.  Change the eclipselink.extension.oracle project to use an Oracle specific version of the variable so the the JDBC_LIB variable can be used for whatever jdbc driver is required for the tests that are being run.
Comment 1 Tom Ware CLA 2007-12-18 16:33:25 EST
Created attachment 85493 [details]
proposed patch
Comment 2 Tom Ware CLA 2007-12-19 08:52:33 EST
Changed the build scripts to fully qualify the locations of files in the run.test targer.

Changed the extensions.oracle project to make use of a new variable call ORACLE_JDBC_LIB

No new tests have been added since this project fixes build scripts so they are capable of running existing tests.

Tested by running JPA tests and core tests from the trunk build script and by running the SRGTestModel from an Eclpse Project.

reviewed by James Sutherland

Comment 3 Eclipse Webmaster CLA 2022-06-09 10:19:25 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink