I don't think that this is the right way to go.
The original problem is that we have some example SystemProperty data
which is loaded automatically when you setup OFBiz in the documented
way. This leads to confusion when someone changes the file properties
for e.g. the mail transport
That could be probably an incredibly dangerous and complexity-inudcing
idea. Imagine what you are suggesting, a massive state machine, implied and
not explicit (a massive global collection of variables).
In my opinion explicit is always better than implicit and we should strive
to actually reduce
The more I think about it, the more I believe the ultimate solution is to remove all properties in favour of SystemProperties. And to no longer use
properties but only SystemProperties.
This entails to
1. completely implements EntityUtilProperties
2. deprecate UtilProperties
3. replaceĀ all