New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jythonscripting] Refactor, improve and simplify #16508
Conversation
This pull request replaces the previous one, which I closed due to a mistake |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/jython-is-not-deprecated/154187/23 |
bundles/org.openhab.automation.jythonscripting/src/main/resources/OH-INF/addon/addon.xml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for improving the Jython add-on! If you plan on taking care of it maybe also update the CODEOWNERS file? 🙂
...src/main/java/org/openhab/automation/jythonscripting/internal/JythonScriptEngineFactory.java
Outdated
Show resolved
Hide resolved
@wborn can you give me a tip as a newbie, whats wrong with the CI/Build pipeline. I was already running it locally, with the same result, but without more understanding from my side. The only thing I know is that it is related to a dependency openhab-runtime-base => openhab-core-model-persistence .... org.eclipse.xtext.common.types but I have not changed anything which could touch this also this issues #7798 was not helpful maybe something is broken in openhab-core |
See https://community.openhab.org/t/failed-to-execute-goal-org-apache-karaf-tooling4-4-4-verify/154678/4 |
@jlaur thanks for cleaning review requests, It was happen because I tried a rebase with openhab:main instead of a merge. and my latest forced push was reverting it.
my rebase was creating a new commit, because of my previous merge with openhab:master. I reverted this merge too and now my rebase was working properly. |
- refactored JythonScriptEngineFactory - implemented JythonScriptFileWatcher - fixed addon.xml & package-info.java Signed-off-by: Holger Hees <holger.hees@gmail.com>
Co-authored-by: Wouter Born <github@maindrain.net> Signed-off-by: Holger Hees <holger.hees@gmail.com>
Signed-off-by: Holger Hees <holger.hees@gmail.com>
Signed-off-by: Holger Hees <holger.hees@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
* moved implementation to 'internal' * refactored JythonScriptEngineFactory * implemented JythonScriptFileWatcher * fixed addon.xml & package-info.java * simplify stream list collector in JythonScriptEngineFactory * changed codeowner for jythonscripting * organized imports in JythonScriptEngineFactory Signed-off-by: Holger Hees <holger.hees@gmail.com>
I refactored the Jython binding a bit
additionally I tested this refactored jython addon with success in my openhab 4.1.1 production environment.