The scripts are being loaded multiple times (for the same script, as if OH2 doesn’t realize the script is already loaded) and the script unload callbacks are not happening when the script is deleted. There is a topic that provides more details and that references an open SmartHome issue as a possible cause.
I did look at that page before posting. I didn’t see anything that explicitly described the Xtext generation. I assumed the “Setup tasks” would do it. I ran those in my current workspace and that didn’t solve the problem. I tried installing Eclipse from the beginning using the instructions on the page. That didn’t work either. This is on a Mac, if that’s relevant (I assume it isn’t).
I’ll try to determine which automation bundles are needed to add to my workspace. It’s a bit frustrating because my time availability to work on documentation is very limited and I’m spending most of it trying to set up an IDE environment that builds correctly. This is the same base environment I used for JSR223 development a few months ago.