Yesterday before the M2 RC build, I moved the Transform mediator into
Synapse extensions due to its dependency to Xalan.
The issue
you came across happened under JDK 1.5, Though we didn't directly
depend on org.apache.xalan.. somehow when the unit tests run, it looked
for the specific provider
org.apache.xalan.processor.TransformerFactoryImpl.
Today I have added a BUILDING.txt into the source to specify how to
build Synapse (i.e. with the dependency to Xerces for the Validate
mediator)
asankha
Paul Fremantle wrote:
Asankha
I'm getting a build failure since the xalan dependency was removed.
[junit] [ERROR] TEST
org.apache.synapse.mediators.transform.TransformMediatorTest FAILED
Testcase: testTransformXSLTCustomSource(
org.apache.synapse.mediators.transform.TransformMediatorTest):
Caused an ERROR
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown
Source)
at
org.apache.synapse.mediators.transform.TransformMediator.performXLST(TransformMediator.java
:77)
at
org.apache.synapse.mediators.transform.TransformMediator.mediate(TransformMediator.java:60)
at
org.apache.synapse.mediators.transform.TransformMediatorTest.testTransformXSLTCustomSource(TransformMediatorTest.java
:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
I'm using Sun JDK 1.5 build 1.5.0-b64, mixed mode
Paul
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|