Open simonihmig opened 3 years ago
Thanks for the report! I have actually not got all of ohj
working on OH3 yet - just because I was prioritising getting the core plugin to work (and getting lots merged into OH core, meaning the plugin is much simpler now, even if not yet bundled). I did start looking at it in depth yesterday though; I think it's a case of going through and updating references to relocated/refactored code in OH3. I'm doing this at the moment though (well, when I have time), so expect to get this working soon.
Do you have the ohj-support addon installed? I moved supporting things into this plugin so that I could get the foundational JS support into OH without these bits.
Someone else fixed it temporarily, but I'm still not sure why it's broken: https://github.com/jpg0/oh-config/issues/2#issuecomment-751525800
Also: OH3 seems pretty broken regarding script startup: scripts are loaded too early (before all the system is up) and also they are not ordered. I am waiting for these to be fixed before I migrate myself.
I got it basically working, see https://github.com/jpg0/oh-config/issues/2#issuecomment-752120772
Leaving this open for now as the published ohj
version still does not work ootb...
Is there a existing jar for OH3.x ?
The one mentioned in https://www.npmjs.com/package/ohj is a) broken and b) for OH2.5.
Thanks!!
I tried to get your latest 3.0.0 snapshot of the scripting addon running with my existing scripts. I updated
ohj
to the latest commit onmaster
.Still getting this exception:
Note that the logged
bundleContext
isundefined
!Is it working for you (I assume that looking at your
oh-config
repo), and if so, what did I miss?