Skip to content

rat diet - #9724

Open
ebarboni wants to merge 1 commit into
apache:deliveryfrom
ebarboni:ratquiet
Open

ebarboni wants to merge 1 commit into
apache:deliveryfrom
ebarboni:ratquiet

Conversation

@ebarboni

Copy link
Copy Markdown
Contributor

Add a few changes to rat processing for NetBeans

  • do the xml report only.
  • make path relative to netbeans folder to have less text displayed.
  • use rat xsl to make txt file on the reduced xml for later display.

will anable rat again for rc2

@ebarboni ebarboni added this to the NB32 milestone Oct 16, 2026
@ebarboni
ebarboni requested a review from mbien October 16, 2026 12:28
@ebarboni ebarboni added the build label Oct 16, 2026

@matthiasblaesing matthiasblaesing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generate idea makes sense, but please lets not use string replacement to modify XML. This asks for trouble the moment people how something more exotic in their path than ascii characters. The minimum problematic set are &, ", ', < and >, maybe even more when RAT writes entities.

We have the full power of the JVM at our disposal, so lets use it.

Please have a look here: matthiasblaesing@15fd667. Feel free to squash that if you agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants