[jira] [Updated] (OFBIZ-7763) Replace bshInterpreter with groovyShell

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7763) Replace bshInterpreter with groovyShell

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gil Portenseigne updated OFBIZ-7763:
------------------------------------
    Attachment: OFBIZ-7763.patch

This patch, fix all use-when using groovyShell instead of bsh, compiling with all bsh lib removed.

I was forced to analyse expression to identify the groovy variable, to set non existent one in context to null in binding, avoiding Exception...

I will reread it this week-end, it needs more tests...

Any comments and tests are welcome.

> Replace bshInterpreter with groovyShell
> ---------------------------------------
>
>                 Key: OFBIZ-7763
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7763
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Gil Portenseigne
>            Assignee: Gil Portenseigne
>         Attachments: OFBIZ-7763.patch, OFBIZ-7763.patch, beanshell-removal-part1.patch
>
>
> To support the migration to gradle, removing bsh.jar dependency from the project, and improve readability and fonctionnalities following [~deepak.dixit] idea expressed here https://issues.apache.org/jira/browse/OFBIZ-7576?focusedCommentId=15347972



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)