ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Retter <>
Subject [PATCH]
Date Wed, 24 Jan 2018 11:27:41 GMT
If you previously used the Saxon XSLT Processor within
<junitreport><report> you would get an error as the XSLT stylesheets
provided with Ant do not work with Saxon, they in fact rely on Xalan2
specific extensions.

The attached patch adds Saxon compatible stylesheets and selects the
Saxon stylesheets if the Saxon processor is specified, e.g. the
following now works:

<junitreport todir="${junit.reports.dat}">

    <fileset dir="${junit.reports.dat}">
        <include name="TEST-*.xml"/>

    <report format="frames" todir="${junit.reports.html}">
        <factory name="net.sf.saxon.TransformerFactoryImpl"/>
            <fileset dir="lib">
                <include name="Saxon*.jar"/>


Hope this can make it into the next Ant release? Let me know if you
need any changes...

Cheers Adam.

Adam Retter

skype: adam.retter
tweet: adamretter

View raw message