[ 
https://issues.apache.org/jira/browse/RAT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17782454#comment-17782454
 ] 

Philipp Ottlinger commented on RAT-330:
---------------------------------------

Not sure if I understand your request correctly, but is it related to 
https://issues.apache.org/jira/browse/RAT-150 that aims to change the general 
detection of file types?

> Simplify the definition of file types.
> --------------------------------------
>
>                 Key: RAT-330
>                 URL: https://issues.apache.org/jira/browse/RAT-330
>             Project: Apache Rat
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 0.16
>            Reporter: Claude Warren
>            Priority: Minor
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Currently the file types are detected in the AbstractLicenseAppender and are 
> hardcoded.
>  
> This change should explore
>  * defining the file types in configuration files.
>  * Extracting the type detection from the AbstractLicenseAppender so that it 
> can be used in the text processing matchers.
>  * If information about start and end block comments symbols as well as 
> single line symbols should be maintained with the type.
>  * If information about required initial lines should be kept with the type.
> It should also remove the dependency on IOUtils.closeQuietly() in the 
> AbstractLicenseAppender.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to