(SOLVED) When run from Eclipse, where's the configuration directory set?


(Metin) #1

I’ve setup my Eclipse IDE with a run configuration to try some binding development. An openHAB instance can be started from within Eclipse just fine, but now I would like to perform some tests that require items and rules definitions, but I seem unable to find out where this openHAB instance expects the openHAB-conf directory to load the items, rules, sitemaps (etc.) files from? Neither do I find out how to configure a path in the Eclipse run configuration.

Also, this questions doesn’t seem to be addressed in the development docs.

Any hints, please?

  • Platform information:
    • Eclipse: 2018-12
    • OS: macOS 10.14
    • openHAB version: 2.4 (latest from master)

(Mark) #2

Infrastructure -> distro-resources -> src -> main -> resources


(Metin) #3

Thank yooou! :):blush: