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

[jira] [Updated] (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:all-tabpanel ]

Philipp Ottlinger updated RAT-500:
----------------------------------
    Fix Version/s: 1.0.0

> 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)