Hi all,
attached is version 2 of the patch.
Changes to v1:
- change Main.main to Main.mainStart() which returns an int
- let Main.main call mainStart() and use System.exit(1) in case of errors
- let unit tests call Main.mainNoSystemExit() which doesn't call System.exit().
- synchronized -> volatile for access of field programRC
For version 1 see
http://gis.19327.n5.nabble.com/Patch-v1-set-program-return-code-and-improve-logging-tp5805327.html
If I hear no complains I'll commit it on friday.
Gerd