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

ASF subversion and git services commented on RAT-301:
-----------------------------------------------------

Commit e84ebdb739b5fabb0bb370c94edb5a90aecbd131 in creadur-rat's branch 
refs/heads/master from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=e84ebdb7 ]

RAT-301: Ensure Chinese characters are not categorized as binary


> Rat check file identification error,java files with Chinese characters are 
> recognized as binary files
> -----------------------------------------------------------------------------------------------------
>
>                 Key: RAT-301
>                 URL: https://issues.apache.org/jira/browse/RAT-301
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.13
>         Environment: Window  
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
> 2015-11-11T00:41:47+08:00)
>            Reporter: Chen Xia
>            Assignee: Claude Warren
>            Priority: Major
>             Fix For: 0.17
>
>
> {code:java}
> // code placeholder
> <!--mvn apache-rat:check-->
> <plugin>
>     <groupId>org.apache.rat</groupId>
>     <artifactId>apache-rat-plugin</artifactId>
>     <version>0.13</version>
>     <executions>
>         <execution>
>             <id>rat-validate</id>
>             <phase>validate</phase>
>             <goals>
>                 <goal>check</goal>
>             </goals>
>         </execution>
>     </executions>
>     <configuration>
>         <excludes>
>             <exclude>**/*.versionsBackup</exclude>
>             <exclude>**/.idea/</exclude>
>             <exclude>**/*.iml</exclude>
>             <exclude>**/*.txt</exclude>
>             <exclude>**/*.json</exclude>
>             <exclude>web/.editorconfig</exclude>
>             <exclude>web/.env</exclude>
>             <exclude>web/.eslintignore</exclude>
>             <exclude>web/.jshintrc</exclude>
>             <exclude>web/public/favicon.ico</exclude>
>             <exclude>web/dist/**</exclude>
>             <exclude>web/node_modules/**</exclude>
>             <exclude>web/apache-linkis-*-web-bin.tar.gz</exclude>
>             <exclude>**/*.md</exclude>
>             <exclude>.git/</exclude>
>             <exclude>.gitignore</exclude>
>             <exclude>**/.settings/*</exclude>
>             <exclude>**/.classpath</exclude>
>             <exclude>**/.project</exclude>
>             <exclude>**/target/**</exclude>
>             <exclude>**/out/**</exclude>
>             <exclude>**/*.log</exclude>
>             <exclude>CONTRIBUTING.md</exclude>
>             <exclude>CONTRIBUTING_CN.md</exclude>
>             <exclude>DISCLAIMER</exclude>
>             <exclude>DISCLAIMER</exclude>
>             <exclude>README.md</exclude>
>             <exclude>**/META-INF/**</exclude>
>             <exclude>.github/**</exclude>
>             <exclude>compiler/**</exclude>
>             <exclude>**/generated/**</exclude>
>         </excludes>
>     </configuration>
> </plugin> {code}
> This is the result of {{mvn apache-rat:check}}
> {code:java}
> Summary
> -------
> Generated at: 2022-05-06T09:56:39+08:00
> Notes: 0
> Binaries: 1
> Archives: 0
> Standards: 13
> Apache Licensed: 13
> Generated Documents: 0
> JavaDocs are generated, thus a license header is optional.
> Generated files do not require license headers.
> 0 Unknown Licenses
> *****************************************************
>   Files with Apache License headers will be marked AL
>   Binary files (which do not require any license headers) will be marked B
>   B     
> D:/DataSphere/linkis_svn/1.1.1-RC1/apache-linkis-1.1.1-incubating-src/apache-linkis-1.1.1-incubating-src/linkis-public-enhancements/linkis-publicservice/linkis-udf/linkis-udf-common/src/main/java/org/apache/linkis/udf/entity/UDFVersion.java
>   AL    
> D:/DataSphere/linkis_svn/1.1.1-RC1/apache-linkis-1.1.1-incubating-src/apache-linkis-1.1.1-incubating-src/linkis-public-enhancements/linkis-publicservice/linkis-udf/linkis-udf-common/src/main/java/org/apache/linkis/udf/excepiton/UDFException.java
>   
> ***************************************************** {code}
> UDFVersion.java is recognized as a binary file
> source code: https://github.com/casionone/incubator-linkis/tree/dev-1.1.1-rat



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

Reply via email to