Community
Participate
Working Groups
In order to run moxy tests with XML parsers other than the default from a JVM, we need put the parser jar in the front of the class paths, i.e., the class paths need to be dynamic. Currently the moxy test project doesn't support this.
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