cdjackson / HABmin

A web admin console for openHAB home automation
http://www.cd-jackson.com/index.php/openhab/habmin
217 stars 51 forks source link

HABmin does not respect config dir property #190

Closed pwalther closed 8 years ago

pwalther commented 9 years ago

The ubuntu standard start script that comes with the repo version of openhab adds a "openhab.configdir" java -D property which is not handled by HABmin.

This affects persistence and item services, I'm not sure what else. It leads to an NPE upon invoking said service.

Workaround: Move configurations dir into openhab install dir.

See: https://github.com/cdjackson/openhab/blob/HABmin/bundles/io/org.openhab.io.habmin/src/main/java/org/openhab/io/habmin/services/item/ItemConfigResource.java#L167