| Summary: | Need to make moxy test project configurable to test with xml parsers other than the default from a JVM | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Edwin Tang <edwin.tang> | ||||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | blaise.doughan, prabaharan.vijayaratnam | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Edwin Tang
Created attachment 178867 [details]
patch file
Created attachment 178952 [details]
patch file
The patch introduce 2 properties in moxy/eclipselink.moxy.test/build.properties, and a dummy xml parser jar, which has no content, in moxy/plugins directory.
xml.parser.jar.dir=../plugins
xml.parser.jar=dummy-xml-parser.jar
The xml.parser.path is included in all moxy test class paths.
<path id="xml.parser.path">
<fileset
dir="${xml.parser.jar.dir}"
includes="${xml.parser.jar}"/>
</path>
To run moxy tests with xml parsers other than the default from a JVM, we can configure xml.parser.jar.dir, xml.parser.jar and xml.platform in moxy/eclipselink.moxy.test/build.properties, or overwrite them via ANT parameters.
Created attachment 178975 [details]
patch file
- Added comments
- Actually, dummy_xml_parser.jar doesn't need to exist
The patch has been checked into trunk and 2.1 branch. Code reviewed by: Blaise Doughan The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |