For running the following commands, cd to the folder that has pom.xml
1. To list all the occurrences/frequencies in descending order
2. Top 20 occurrences/frequencies from a given path, in silent-mode (change the command line arguments for different results)
$ java -jar target/counter-0.0.1-jar-with-dependencies.jar 20 target/test-classes/files
3. Top 20 occurrences/frequencies from a given path, in verbose-mode (change the command line arguments for different results)
$ java -Dlog4j.configuration=file:target/classes/log4j_dev.properties -jar target/counter-0.0.1-jar-with-dependencies.jar 20 target/test-classes/files
Install the following plugins and import the source as maven project