[ https://issues.apache.org/jira/browse/MCHECKSTYLE-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928010#comment-17928010 ]
Emmanuel Lécharny edited comment on MCHECKSTYLE-454 at 2/18/25 10:20 AM: ------------------------------------------------------------------------- Tested on the command line with checkstyle alone, it seems to be happy, AFAICT. So back to square one, a bug in the maven plugin. {code} ~/Téléchargements/raté$ java -jar checkstyle-10.21.2-all.jar -c /home/elecharny/Téléchargements/raté/sshd-checkstyle.xml sshd-common/src/test/java/org/apache/sshd/server/keyprovider/PEMGeneratorHostKeyProviderTest.java -d févr. 18, 2025 11:18:56 AM com.puppycrawl.tools.checkstyle.Main runCli PRÉCIS: Checkstyle debug logging enabled févr. 18, 2025 11:18:56 AM com.puppycrawl.tools.checkstyle.Main runCli PRÉCIS: Running Checkstyle with version: 10.21.2 Début de la vérification... Vérification terminée. {code} Note that I had to tweek the checkstyle configuration file to get rid of ${} variables. was (Author: elecharny): Tested on the command line with checkstyle alone, it seems to be happy, AFAICT. So back to square one, a bug in the maven plugin. {code} ~/Téléchargements/raté$ java -jar checkstyle-10.21.2-all.jar -c /home/elecharny/Téléchargements/raté/sshd-checkstyle.xml sshd-common/src/test/java/org/apache/sshd/server/keyprovider/PEMGeneratorHostKeyProviderTest.java -d févr. 18, 2025 11:18:56 AM com.puppycrawl.tools.checkstyle.Main runCli PRÉCIS: Checkstyle debug logging enabled févr. 18, 2025 11:18:56 AM com.puppycrawl.tools.checkstyle.Main runCli PRÉCIS: Running Checkstyle with version: 10.21.2 Début de la vérification... Vérification terminée. {code} > Running checkstyle:check when the project is on a path with accents fails > ------------------------------------------------------------------------- > > Key: MCHECKSTYLE-454 > URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-454 > Project: Maven Checkstyle Plugin > Issue Type: Bug > Affects Versions: 3.4.0, 3.5.0, 3.6.0 > Reporter: Emmanuel Lécharny > Priority: Major > > PS: also tested with 3.6.0 which has been released, but you haven't marked it > as released in JIRA... > If the project I want to check is under a directory where a part of the path > contain accents, like: > {code} > /user/elecharny/téléchargement/apache-sshd-2.15.9 > {code} > then the checkstyle configuration file(in my case, sshd-checkstyle.xml) is > either not found, or ignored. > If I rename {{téléchargement}} to {{download}}, all is fine. -- This message was sent by Atlassian Jira (v8.20.10#820010)