ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaikiran Pai <jai.forums2...@gmail.com>
Subject Re: [PATCH]
Date Thu, 25 Jan 2018 04:24:04 GMT
Hi Adam,

The mailing list strips off the attachments, so your patch didn't come 
through. In general, can you instead please create a bugzilla issue here 
https://bz.apache.org/bugzilla/enter_bug.cgi?product=Ant and explain the 
issue you were running into (including the version of Ant you are using 
and the exception stacktrace that you got) and attach the proposed patch 
there?

-Jaikiran


On 24/01/18 4:57 PM, Adam Retter wrote:
> 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"/>
>      </fileset>
>
>      <report format="frames" todir="${junit.reports.html}">
>          <factory name="net.sf.saxon.TransformerFactoryImpl"/>
>          <classpath>
>              <fileset dir="lib">
>                  <include name="Saxon*.jar"/>
>              </fileset>
>          </classpath>
>      </report>
>
> </junitreport>
>
>
> Hope this can make it into the next Ant release? Let me know if you
> need any changes...
>
> Cheers Adam.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message