Gavin McDonald created RAT-488:
----------------------------------
Summary: stylesheet doesn't support the nested "file" element.
Key: RAT-488
URL: https://issues.apache.org/jira/browse/RAT-488
Project: Apache Rat
Issue Type: Bug
Reporter: Gavin McDonald
Hi
I cant find what has changed in RAT but the tests on our projects in
ci2.apache.org (buildbot) no longer work since updating from 0.14 to 0.16.1
{noformat}
/home/buildslave/slave/rat-buildfiles/openoffice.xml:33: stylesheet doesn't
support the nested "file" element.{noformat}
The documentation still lists this as valid in an example.
Here is what we use and have always used for 15+ years:-
{noformat}
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
format="styled" reportFile="${src-dir}/../rat-output.html">
<stylesheet>
<file file="${src-dir}/../../../rat-output.xsl"/>
</stylesheet>
<fileset dir="${src-dir}">
<excludesfile name="${src-dir}/main/rat-excludes"/>
<exclude name=".buildbot-sourcedata"/>
</fileset>
</rat:report>{noformat}
Any ideas?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)