Skip to content

Commit

Permalink
[jythonscripting] Add a note not to use jython (#15623)
Browse files Browse the repository at this point in the history
* [jythonscripting] Add a note not to use jython
* [jythonscripting] Mark as deprecated

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng authored Oct 8, 2023
1 parent 72622a1 commit 5a5cfc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion bundles/org.openhab.automation.jythonscripting/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Jython Scripting
# Jython Scripting (DEPRECATED)

::: tip Note:
Currently, the development of Jython stopped at version 2.7 with no definite timeline to support Python 3.x.
The 3rd party openHAB helper library for Jython is also no longer maintained.
We would not recommend using Jython scripting at this point in time.
For alternatives, check out the list of other supported [automation add-ons](https://www.openhab.org/addons/#automation).
:::

This add-on provides [Jython](https://www.jython.org/) 2.7.2 that can be used as a scripting language within automation rules and which eliminates the need to download Jython and create `EXTRA_JAVA_OPTS` entries for `bootclasspath`, `python.home` and `python.path`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">

<type>automation</type>
<name>Jython Scripting</name>
<name>Jython Scripting (DEPRECATED)</name>
<description>This adds a Jython script engine.</description>
<connection>none</connection>

Expand Down

0 comments on commit 5a5cfc2

Please sign in to comment.