ottlinger commented on code in PR #317: URL: https://github.com/apache/creadur-rat/pull/317#discussion_r1778780165
########## apache-rat-tasks/src/site/apt/examples/basic.apt.vm: ########## @@ -59,28 +58,47 @@ java -jar apache-rat-${project.version}.jar src The equivalent of +------------------------------------------+ -java -jar apache-rat-${project.version}.jar --addlicense - --copyright "Copyright 2008 Foo" +java -jar apache-rat-${project.version}.jar --edit-license + --edit-copyright "Copyright 2008 Foo" /path/to/project +------------------------------------------+ is --- -<rat:report addLicenseHeaders="true" - coprightMessage="Copyright 2008 Foo"> +<rat:report editLicense="true" + editCopyright="Copyright 2008 Foo"> <fileset dir="/path/to/project"/> </rat:report> --- -* Create a styled HTML report +* Create a styled report + + There are two types of styled reports, both are activated by using the "outputStyled" attribute on the "rat:report" element. + + The first is the standard report type. This uses one of the standard reports shipped with Rat which are activated by setting the value of "outputStyled" to the name of the report. + + * plain-rat: The default style + + * missing-headers: Produces a report of files that are missing headers + + * unapproved-licenses: Produces a report of the files with unapproved licenses + + * xml: The default style. Review Comment: As the default output is text I assume "xml" should have a different text or is the Ant version a combination of XML+RAT default report? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org