diff --git a/docs/manual/OptionalTasks/junitreport.html b/docs/manual/OptionalTasks/junitreport.html index 3f1c8896d..ce000e941 100644 --- a/docs/manual/OptionalTasks/junitreport.html +++ b/docs/manual/OptionalTasks/junitreport.html @@ -16,22 +16,24 @@ Library Dependencies for more information.

Requirements

The task needs Apache Xalan 2.x or Xalan XSLTC +href="http://xml.apache.org/xalan-j/">Xalan 2.4.1+ or Xalan XSLTC (JDK 1.4 contains a version of Xalan-J 2.x while JDK 1.5 ships with a -version of XSLTC). Versions prior to Ant 1.6.2 worked with Apache Xalan -1.2.2, but as Xalan1 is no longer supported, we do not recommend -this. With Ant 1.6.2 we had to decide between supporting Xalan-J 1 -and XSLTC, since there was no way to support both at the same -time.

+version of XSLTC). Starting from JDK 1.4.2-01 it ships with a bundled +Xalan-J 2.4.1+, meaning that JDK version prior to 1.4.2-01 won't work +out of the box. The table below summarize the compatibility status. +

+ + + + + + +
XalanSun JDK BundleStatus
2.4.1+JDK 1.4.2-01+OK
XSLTCJDK 1.5.xOK
2.xJDK 1.4.xDEPRECATED
Use ${ant.home}/etc/junit-frames-xalan1.xsl +
Upgrade Xalan using the JDK endorsement mechanism
1.2N/ADEPRECATED
Use ${ant.home}/etc/junit-frames-xalan1.xsl
-

If you want to use Xalan 1.2.2, the noframes report is still -supposed to work. If you want the frames support, copy the file -junit-frames-xalan1.xsl from the Ant distribution's etc directory to a -new directory, change its name to junit-frames.xsl and use the task's -styledir attribute to point to it. You will also need a compatible -(older) version of Xerces. as well as BSF(bsf.jar). Again, using -Xalan 2 is simpler and supported.

+

With Ant 1.6.2 we had to decide between supporting Xalan-J 1/Xalan J 2.4.1- +and Xalan 2.4.1+/XSLTC, since there was no way to support both couples at the same +time.

Parameters