You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/10/14 16:41:00 UTC

[jira] [Commented] (RAT-500) Just calling the CLI without any arguments results in an exception being logged

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

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

Commit 7e783f36b6fb0018cbc59762b38c82fe174767ec in creadur-rat's branch refs/heads/fix/RAT-500 from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=7e783f36 ]

RAT-500: Add test to show no arguments does not fail


> Just calling the CLI without any arguments results in an exception being logged
> -------------------------------------------------------------------------------
>
>                 Key: RAT-500
>                 URL: https://issues.apache.org/jira/browse/RAT-500
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.17
>            Reporter: Philipp Ottlinger
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> If you just build RAT and run the convenience JAR without any arguments the following
> exception is printed on standard out:
>  
> 16:36 $ java -jar apache-rat/target/apache-rat-1.0.0-SNAPSHOT.jar 
> ......
> ====== Notes ======
>  # RAT highlights possible issues.
> 2. RAT reports require interpretation.
> 3. RAT often requires some tuning before it runs well against a project.
> 4. RAT relies on heuristics: it may miss issues
> Exception in thread "main" org.apache.rat.ConfigurationException: No directories or files specified for scanning. Did you forget to close a multi-argument option?
>     at org.apache.rat.OptionCollection.parseCommands(OptionCollection.java:160)
>     at org.apache.rat.OptionCollection.parseCommands(OptionCollection.java:113)
>     at org.apache.rat.Report.main(Report.java:44)
> ✘-1 ~/creadur-rat [master|✔] 
>  



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