mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 05:41:52 +01:00
5062ab5fb0
The docs say that JSR223 scripts will be loaded in order of start level (as defined by filename or containing folder). this works (mostly) fine when you're stepping through start levels sequentially on startup, but if you're already at SL100, and have scripts located in sl folders, and then install an addon for those scripts, they were loading in alphabetic order instead. This ensures they'll still respect start level order relative to each other. This should also fix the case of script start levels not matching start levels OpenHAB actually steps through (which are all multiples of 10) - i.e. if you define scripts in sl30, sl31, and sl32, when OpenHAB jumps from 30 to 40, 31 should be executed before 32. Signed-off-by: Cody Cutrer <cody@cutrer.us> |
||
---|---|---|
.. | ||
src | ||
.classpath | ||
.project | ||
NOTICE | ||
pom.xml |