Philipp Ottlinger created RAT-500:
-------------------------------------

             Summary: 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


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)

Reply via email to