Hi,
In this repo,
I have 2 simple example projects for KieScanner. (not spring boot)
- Ex-basic-kjar-7.57
-> kjar project
- Ex-basic-kjar-test-scanner-7.57
-> execute kjar with KieScanner (10 sec interval scan)
1. Build Ex-basic-kjar-7.57
2. Run DroolsTest in Ex-basic-kjar-test-scanner-7.57
You will see output "Version 1.0.3 Hello, john" in a loop (keep it running)
3. Increment version in Ex-basic-kjar-7.57's pom.xml (e.g. 1.0.4)
4. Modify the rule System.out.println message (e.g. "Version 1.0.4 Hello,") in Ex-basic-kjar-7.57's Sample.drl
5. Build Ex-basic-kjar-7.57 again
6. KieScanner will detect the change and the output becomes "Version 1.0.4 Hello, john"
I hope it helps
Toshiya