ottlinger commented on code in PR #317:
URL: https://github.com/apache/creadur-rat/pull/317#discussion_r1771321231
##########
apache-rat-tasks/src/site/apt/examples/basic.apt.vm:
##########
@@ -59,28 +59,25 @@ 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
---
-<rat:report format="styled" reportFile="rat.html">
+<rat:report outputStyle="my/rat-xml-2-html.xslt" outputFile="rat.html">
Review Comment:
Shouldn't the general example not contain a custom XSLT? As a user that has
to migrate after 0.17 is out I would not want to add my custom XSLT but would
like to have the functionality as the format=styled before .... WDYT?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]