ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: junitreport and Xalan2
Date Thu, 15 Nov 2001 15:30:20 GMT
Indeed, Xalan-J 1.x is no longer officially supported.  Someone should
consider updating whoever's code this is to use the equivalent Xalan-J 2.x
code.  XSLTProcessorFactory was a Xalan-J 1.x class, and it used it's own
API to do stylesheet transformations; it is no longer available in Xalan-J

The rough equivalent of this in Xalan-J 2.x is the
javax.xml.transform.TransformerFactory, which is a JAXP-standard call.  I
know there have been discussions in Ant-land about making Ant <style? task
use different processors; I'm not sure how this impacts the junit reporting
stuff tho.

- Shane
---- you Christopher Berry <> wrote ----
> Greetings, This is a note to save others the same pain ;-)
> I tried building the Ant 1.4 from the source using Xalan2, but this does
> work.
> If one looks at the build.xml file for Ant 1.4 it has the following
> <available property="xalan.present"
>               classname="org.apache.xalan.xslt.XSLTProcessorFactory"
>               classpathref="classpath" />
>     .....
>       <exclude name="${optional.package}/junit/"
>               unless="xalan.present" />
> But if you open up Xalan2, you will *not* find this CLASS file. And thus,
> the <junitreport> Task doesn't build properly.
> Building with Xalan 1.2.2 works as expected.
> Cheers,
>-- Chris

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message