I wanted to create an openhab binding, so i followed the guide: installed the eclipse environment with the plugins, waited for it to build then used the “create_openhab_binding_skeleton.sh” to create a binding template. Maven compilation and eclipse autobuild functionality works at first, but after a while it stops seeing changes in my code (it runs the old code without new changes) and if i try to recompile it manually with
mvn clean install -DskipChecks -DskipTests
i get this error. And from then on mvn compilation does not work on that bundle, no matter what i do (delete m2. repository, readd the bundle to bom, bundle and feature files, play around with the app.bndrun etc.). If i try to delete the “target” folder of this binding in eclipse, it instantly recreates it with the old jar.
I have tried to reinstalled the environment with 2019-03, 2019-09 versions of eclipse, but i get the same problem.
From what i understand, is that some plugin for openhab get’s de-synchronized with the source code changes and fails to update itself, but i have no idea where this would happen, or how to update the project so that it would again see the code changes. Any ideas?