Running some JUnit tests with Ant 1.6.5 gave this error when the <junitreport> task ran:
build.xml:160: The following error occurred while executing this line: build.xml:367: Could not find a valid processor version implementation from net.sf.saxon.TransformerFactoryImpl
I know of two possible solutions:
- Upgrade to using Ant 1.7.0, or
- Set ANT_OPTS thus:
declare -x \\ ANT_OPTS=-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl