[
https://issues.apache.org/jira/browse/RAT-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Ottlinger resolved RAT-488.
-----------------------------------
Fix Version/s: 0.17
Resolution: Information Provided
Feel free to close the issue once everything works :) Happy to know that it's
not a bug in RAT, but only a client configuration change. Thanks
> 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
> Priority: Major
> Fix For: 0.17
>
>
> 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)