https://github.com/mrin9/directory-watcher-using-executable-fat-jar
Java Directory Watcher Application (Maven Based Fat Jar Creation)
https://github.com/mrin9/directory-watcher-using-executable-fat-jar
Last synced: 5 months ago
JSON representation
Java Directory Watcher Application (Maven Based Fat Jar Creation)
- Host: GitHub
- URL: https://github.com/mrin9/directory-watcher-using-executable-fat-jar
- Owner: mrin9
- Created: 2017-11-26T23:36:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-27T00:20:37.000Z (about 8 years ago)
- Last Synced: 2025-07-07T13:38:16.313Z (6 months ago)
- Language: Java
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Directory-Watcher-Using-Executable-Fat-Jar
This project uses ```maven-assembly-plugin``` to create a self executable fat jar which will include all the dependencies
## What it does
The app monitors a given folder and can inform about
* File Creations, deletions and changes
* Sub-Folder Creations, deletions and changes
The app uses polling mechanism to do so. The functionality is provided by Appache Commons-IO jar
It fails to Monitor certain folders such as Users home folder as they may need special permissions
## Pre-requisites
Must have ```Java 8 ``` and ```maven 3.5.0``` installed
## To Compile the App.
``` mvn clean install ```
this will generate following 2 jars under the target folder
* ```app-1.0.jar```
* ```app-1.0-jar-with-dependencies.jar```
## To Execute the project
``` java -jar ./target/app-1.0-jar-with-dependencies.jar```