On 2010-05-27, Gav... wrote:

>> From: Stefan Bodewig [mailto:[email protected]]
>> In theory the CLI should be able to perform the XSLT transformation for
>> you in one go - this is how it creates the plain text output after all.

>> Internally RAT only creates XML and does a transformation when asked
>> for a plain text output.  If you are interested, we can probably add
>> an --xsl option or something close.

> That sounds like a great plan, but no rush.
> I would still need to use Saxon I think to pull in all xml outputs of
> multiple projects to create the html table in the summary view.

I see.  If you really need Saxon - because of XPath or XSLT 2.0 or just
because the XSLT implementation shipping as part of the JRE sucks -
you'd have to fiddle with the endorsed library stuff on top of that.  In
the end it may be easier to just have RAT create XML.

> (http://ci.apache.org/projects/rat-master-summary.html)

Is there any way to have that page gather input from sources other than
buildbot?  Say I wanted to have RAT reports on a bunch of code bases but
don't need a full buildbot configuration because I already have CI
builds in place (or don't care).

>>> How can I still use method two but get an xml output file like the -x
>>> option in method one gives?

>> This is now possible with trunk if you use format="xml" on the task.
>> BTW, it is probably better to use the task's reportfile attribute
>> rather than redirecting Ant's output.

> This is fantastic, thank you, I'll try it all out today!

Let me know how things work out.

Stefan

Reply via email to